Jump to content

Recommended Posts

Posted

hi

could someone tell me whats wrong with this line

REG ADD %KEY%\015 /V 1 /D "\"%systemdrive%\windows\system32\xcopy.exe /Y /E /I %systemdrive%\install\Tcommander\inikey f:\Total commander"\" /f

when i dont use spaces in dir names it works but i cant figure out what is wrong with the line above when im using spaces

pls help

oh BTW

in the inikey dir are 2 files i want to copy to f:\total commander

my eyes hurt from reading but i just cant get it to work :}


Posted

Put the last \ back one character. Like this:

REG ADD %KEY%\015 /V 1 /D "\"%systemdrive%\windows\system32\xcopy.exe /Y /E /I %systemdrive%\install\Tcommander\inikey f:\Total commander\"" /f

That should work.

Posted

thx for reply

but i dont know whats wrong

it isnt working

copied the complete line u gave me and tested it

doesnt work

windows cant find .....bla bla bla

just for a test i removed the space and the " \ and it just makes the dir and copies the files

Posted
REG ADD %KEY%\015 /V 1 /D "%SystemRoot%\system32\xcopy.exe /Y /E /I %systemdrive%\install\Tcommander\inikey \"F:\Total commander\"" /f

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...