Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 8th, 2007, 06:32 AM
geekdba geekdba is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 3 geekdba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 41 sec
Reputation Power: 0
Batch file Help

I have a very simple batch file as you can see below, this works fine when I run it manually when I try to schedule this using at the copy works but the folder will not rename?????

Any help is appreciated,thanks in advance

@echo off
echo %DATE% >> c:\itunes.log
if exist g:\itunes\ move /Y g:\itunes g:\itunes.%DATE%
md g:\itunes
xcopy /Y /S c:\DOCUME~1\CRAIGR~1\mydocu~1\mymusi~1\itunes\* g:\itunes >> c:\itunes.log

Reply With Quote
  #2  
Old July 11th, 2007, 02:51 PM
geekdba geekdba is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 3 geekdba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 41 sec
Reputation Power: 0
Solved

Quote:
Originally Posted by geekdba
I have a very simple batch file as you can see below, this works fine when I run it manually when I try to schedule this using at the copy works but the folder will not rename?????

Any help is appreciated,thanks in advance

@echo off
echo %DATE% >> c:\itunes.log
if exist g:\itunes\ move /Y g:\itunes g:\itunes.%DATE%
md g:\itunes
xcopy /Y /S c:\DOCUME~1\CRAIGR~1\mydocu~1\mymusi~1\itunes\* g:\itunes >> c:\itunes.log


Just incase any one needs help it was because I did not assign a username, and with xp and above you need to have a password assigned to the user as well

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Batch file Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway