Search the Community
Showing results for tags 'dirmove'.
-
I want to move the content of D:\downloads to D:\pictures in my program. I found DirMove, but that causes problems... Func Move($dest) DirMove("D:\downloads\", "D:\pictures\ABC\" & $dest) DirCreate("D:\downloads") EndFunc In a prior program exactly this piece of code did the job alway...
-
Hi All, I'm making a stage 1 preparation script to apply to target worksation Win 7 and Win 8.1 machines -in preparation to running a separate batch script later (stage 2) within our Windows Server with "netdom.exe move" xxxxxxxx Stage 1 Script Tasks: 1. delete some common shortcuts 2. Then move a...
- 2 replies
-
- dirmove
- subdirectories
-
(and 1 more)
Tagged with:
-
Where is the error? ; DIRMOVE? $sDestination = "C:\Destination" $sName = "Folder" $sSource = @DesktopDir & "\" & $sName DirCreate($sDestination) DirCreate($sSource) Sleep(2000) ; Just for test DirMove($sSource, $sDestination) If @error = 0 Then ConsoleWrite("ERROR") I see both folder, but $s...
-
hi, i don't understand DirMove function, what is problem? example: scriptDir\dictionaries scriptDir\Sound |- dictionaries code: DirMove(@ScriptDir & '\sound\dictionaries',@ScriptDir & "\dictionaries" ,1) result: scriptDir\dictionaries |- dictionaries scriptDir\So...