Used
Win 7x64
Total Comander 9.12 RC3 64 bit (2017-11-09)
The source folder - which you want to copy.
Is located -\\Server\e\Total\folder_1\SOURCE\
Folder contents:
- Empty folders (nesting - 4-6 levels);
- files (different);
- references (* .lnk);
Recipient folder - folder where you want to copy the source folder with all its contents.
Is located -\\Server\e\Total\folder2\RECIPIENT\
Folder contents: - the folder is empty;
Panel Status:
Left panel - not activated - an arbitrary folder is opened;
Right panel - activated - the "RECIPIENT" folder is open;
Names of folders, files, links are used in Russian and English languages, names contain spaces and numbers.
Question
How to make a vb script so that I can copy the folder "SOURCE" , with all its contents, to the folder "RECIPIENT" in the state of the panels described above (item "Panel Status" )?
If the given task is not realizable for the given situation, I ask to inform the reason.
How do I copy the "SOURCE" folder to the "REC
Moderators: white, Hacker, petermad, Stefan2
2Hacker,
Thank you for having responded.
I have already been helped to solve this problem.
Decision.
I was probably wrong trying to solve the problem using VBScript.
CMD, seems to me, more convenient for this situation.
I would be grateful if someone would suggest other solutions.
Thank you for having responded.
I have already been helped to solve this problem.
Decision.
Code: Select all
TOTALCMD#BAR#DATA
nircmd.exe execmd xcopy /cehqrkxyz \\Server\e\Total\folder_1\SOURCE\
"%P"&&nircmd sendkeypress ctrl+r
wpdshext.dll,4
Копировать содержимое сетевого каталога в активный
%COMMANDER_PATH%\Utils\NirCmd\
CMD, seems to me, more convenient for this situation.
I would be grateful if someone would suggest other solutions.