AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Copy (clone) c drive help?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
redd



Joined: 06 Nov 2006
Posts: 39
Location: Sechelt,BC

PostPosted: Sun Aug 02, 2009 1:16 pm    Post subject: Copy (clone) c drive help? Reply with quote

Make a copy of C drive to E drive.
Thanks
Back to top
View user's profile Send private message
jethrow



Joined: 24 May 2009
Posts: 1907
Location: Iowa, USA

PostPosted: Sun Aug 02, 2009 3:43 pm    Post subject: Reply with quote

Code:
Loop C:*, 1
   If A_LoopFileExt
      FileCopy C:\%A_LoopFileName%, E:\%A_LoopFileName%
   Else
      FileCopyDir C:\%A_LoopFileName%, E:\%A_LoopFileName%
MsgBox DONE
Return

_________________
Very Happy - in case I forgot to smile
Basic Webpage Controls
COM Object Reference
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
redd



Joined: 06 Nov 2006
Posts: 39
Location: Sechelt,BC

PostPosted: Sun Aug 02, 2009 5:25 pm    Post subject: Reply with quote

Thanks for reply
I can't make work,os is win xp
Redd
Back to top
View user's profile Send private message
jethrow



Joined: 24 May 2009
Posts: 1907
Location: Iowa, USA

PostPosted: Sun Aug 02, 2009 5:45 pm    Post subject: Reply with quote

Try this:
Code:
SetWorkingDir C:
Loop C:*, 1
   If A_LoopFileExt
      FileCopy C:\%A_LoopFileName%, E:\%A_LoopFileName%
   Else
      FileCopyDir C:\%A_LoopFileName%, E:\%A_LoopFileName%
MsgBox DONE
Return

_________________
Very Happy - in case I forgot to smile
Basic Webpage Controls
COM Object Reference
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
redd



Joined: 06 Nov 2006
Posts: 39
Location: Sechelt,BC

PostPosted: Sun Aug 02, 2009 6:54 pm    Post subject: Reply with quote

Thanks, it worked fine.
One question. If I installed E drive on my computer (so it is now C drive), would my computer start up.
Thanks, Redd
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 3254
Location: Simi Valley, CA

PostPosted: Sun Aug 02, 2009 7:18 pm    Post subject: Reply with quote

Probably not... unless your new drive was formatted to include a boot sector and has an OS properly installed on it.
_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group