Microsoft
Software
Hardware
Network
Question : How do I run a script to move contents of a file to a different location
Hello!
I think this should be easy but I don't know how to do it. I need to create a script that moves the contents of one folder to another... I want to run it as a batch file nightly.
Answer : How do I run a script to move contents of a file to a different location
ROBOCOPY /MOVE C:\folder1 C:\folder 2
That will move everything under the root folder c:\folder1 to c:\folder2 then it will delete C:\folder1 and everything under it.
Random Solutions
Converting nvarchar to datetime in mssql?
Update SSIS Data Flow Column Using Data From CSV file
Error upgrading AD schema
Automatic resizing of forms and text boxes
Why does GetModuleFileName return long names sometimes, and mangled names sometimes (WinNT)?
How to supress 'Access denied' when copy/replace file in the System folder using Command Prompt
Complicated Select & Insert statement - MS SQL 2008
AD Login Script not working on Windows 7 - but will run locally from same computer
installing word and excel viewer as MSI packages
Repadmin to verify replication?