You are here

Batch file help

6 posts / 0 new
Last post
gjjh25
Offline
Last seen: 5 months 4 weeks ago
Joined: 2006-04-03 07:38
Batch file help

I am looking to create a batch file / ini file to do the following

copy a file from my document folder (mylist)on my usb to a folder on the main computer.

and then at the end of the day copy the folder back with another batch file

could anyone help with this please?

Rob Loach
Rob Loach's picture
Offline
Last seen: 16 years 1 month ago
Developer
Joined: 2005-12-09 17:29
XCopy

I believe xcopy is the command you're looking for...

Rob Loach [Website] [Projects] [Blog]

gjjh25
Offline
Last seen: 5 months 4 weeks ago
Joined: 2006-04-03 07:38
yes i think it is thank you

yes i think it is thank you for your help

Graham Yates

gjjh25
Offline
Last seen: 5 months 4 weeks ago
Joined: 2006-04-03 07:38
yes that is what i want

yes that is what i want could ask one more question, how do i get it to run so to speak, i want it to run by double clicking on it if that is possible?

ok know it is a .bat file and this is what i have come up with but it doesnt seem to copy the file over?

xcopy E:\bookmarks.html C:\Program Files\Mozilla Firefox\defaults\profile

could anyone give me some advice?

Graham Yates

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 12 months ago
Joined: 2006-01-06 21:27
How about
xcopy "E:\bookmarks.html" "C:\Program Files\Mozilla Firefox\defaults\profile"

Try that.
----
R McCue
PortaBlog Home and My Website
And before anyone complains about the grammar, I'm so jetlagged that my
hands aren't even in the same time zone...

"If you're not part of the solution, you're part of the precipitate."

gjjh25
Offline
Last seen: 5 months 4 weeks ago
Joined: 2006-04-03 07:38
Excellent that has copied

Excellent that has copied the file over

Thank You!

However when i open firefox i dont see the new bookmarks it is still the old ones? any ideas?

Graham Yates

Topic locked