I made a button with this command
Copy "\\Amd\AMD_ROOT\Program Files (x86)\Steam\steamapps\common\Fallout76\Data\itemsmod.ini" TO "C:\wamp64\www\fo76MVC\document_root\uploads\amd.ini"
I get the system cannot find the path specified error when trying to copy
The path must be correct because i got it by right clicking the file and copying the path.
What have I done wrong?
Leo
June 10, 2024, 12:28am
2
I think you just need to remove the filename from the end. The TO
argument should be the directory where you want it to go.
(If the destination filename needs to be different to the source, you can specify it with the AS
argument.)
Oh, I thought I could use it to also rename the file. Do I need to use a seperate command to rename?
Leo
June 10, 2024, 12:31am
4
AS argument. See the last line above.
I am sorry. Somehow I only read the first sentence of that post. I don't know how I missed that second part.
1 Like
i made this user command that bound to the context menu and buttons.
@nodeselect
Copy TO "C:\Users\CLOUDEN\Documents\Notes MD\00 Inbox\Imports" AS="* - ImportedCopy" IGNOREEXT
this button moves...
Copy MOVE "C:\Users\CLOUDEN\Downloads_Web Clips MD*" TO "C:\Users\CLOUDEN\Documents\Notes MD\00 Inbox\Web Clips [sort]" WHENEXISTS=replace
try
Copy "\\Amd\AMD_ROOT\Program Files (x86)\Steam\steamapps\common\Fallout76\Data\itemsmod.ini" TO "C:\wamp64\www\fo76MVC\document_root\uploads\" AS="amd" IGNOREEXT WHENEXISTS=replace
Thanks what does ignore text do?
it renames the file, while Ignoring the Extension
newfilename.ini <the .ini
wont change
Leo
June 10, 2024, 12:58am
11
You could also do AS="amd.ini"
without needing IGNOREEXT
.
1 Like
That sounds handy. Thanks. everything is working good now
Thanks leo that is what I went with. For this button the file must be named amd.ini even if the original is foo.json
dopus can be wonderfully confusing and complex sometimes, like photoshop, theres more than one way to get the same job\effect done depend on which menu\command you approach it from