windows - Batch syntax error with moving -
i try move test.txt file current direction (desktop) program files(x86) folder. current batch code:
@echo off move %~dp0\test.txt %programfiles(x86)% pause
i added pause see "errors/results" , see there in cmd window, answers
syntaxerror.
i run batch file admin, still same issue...
any help/ideas? need create installer of batch. thanks
now got problem move folder, have answer move file, move folder, admin rights, says acces denied...
due of stephand , cristifati:
@echo off move %~dp0\test.txt "%programfiles(x86)%" pause
Comments
Post a Comment