Batch file program to copy folder from one drive to another.
So the real question is how to I make *me* in the file path change to whoever is logged in?
Thank you for taking the time to report an issue.
What's wrong... Please write below.
I even tried copy *.* and *.doc?, but nothing works. in other words, it seems that the batch processor doesn't recognize the newer word formats. Is there some work-around? Maybe I need to use a different batch processor.
L is a network drive (LaCie NAS box). I give the .bat file admin rights by creating a shortcut to it and giving the shortcut admin rights.
From grazing the web it appears this is a known problem in Win7 but none of the suggested solutions I could find worked with my situation.
A key thing is I need the code in the same file as the set command does not persist between different cmd sessions ie I use the %folder% variable in both the MD and the Drive Image lines.
"C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe" /bc /tL:\DriveImages\%folder%\ /c2 /r- /s- /l
In XP I had it such that I picked a directory, RMB and chose the action.
The instructions to install this facility were: open any directory tools/ folder options.. /file types/file folder/advanced/new...
In Action type<name facility>, In Application used to perform action browse to location of batch file.
Now in Windows7 these instructions don't seem to apply as stuff is in different places. I can make the facility work by placing the batch file in a directory and running it, but this leaves the batch file to be removed and nothing as easy as it was.
I have folders like these:
these are all folder . the number after the '-' indicates a certain number which the user would enter . now I am taking two inputs from the user.
start = some_number
if start = 1 and end =3 . then my batch file should copy all files in these folders
to a certain location . ie the files in folder from 2001-001 to 2008-003
where SET01 is the name of the folder from which the cover.jpg file was copied from.
However I need to run this batch file from my local machine, using its mapped network drive (example: z:\apps\batchfile.bat)
When I run it from this location it does not run successfully.
Is it possible to run a batch file from a remote server from my machine as if I was running it from the server itself?
Or is there other ways to get round this problem?
However, creating a new folder is no problem; copying/moving file(s) is no problem; and copying/moving file(s) from one folder to an existing folder is no problem.
Bottom line: Cannot copy or drag folder to new location (same drive or different drive). Running XPSP3.
"The file does not have a program associated with it for performing this action. create an association in the Defaults Program Control Panel"
Before SP-1 was installed I could double click on the small graphic of the C drive and it would expand to show the folders. Now I must double click on the left side tree of the computer>C Drive> sub folder that I want to access.
Also sometimes I get a error message saying the computer is looking for a PureHD.msi file but I can not locate this file. Can anyone offer any suggestions or ideas to resolve these two small issues. I have a Dell Win 7 32 bit Ultimate installed.
1. Watch a folder.
2. When any file arrives, create a directory
(using the file name as the new directory name. Created at: Domain/Folders/filename/file)
3. Create a file named download.html, with this in this file:
a href = http : // Domain/Folders/filename/file
4. Store download.html in Folders/filename
5. Copy file from Watched Folder to COutput
6. Delete file from Watched Folder
Can this be done with an executable and a scheduler?