Electronics Repair (sci.electronics.repair) Discussion of repairing electronic equipment. Topics include requests for assistance, where to obtain servicing information and parts, techniques for diagnosis and repair, and annecdotes about success, failures and problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 412
Default Dos commands ( ver. 6.2)

I just installed a Dos program on my primary master drive thats
running under Windows 98 and I would like to copy the entire program,
that is the root directory and all its subdirectories into my slave
drive to use as a backup. Does anyone know the proper Dos command
including what switches to use so that the program will appear on the
target drive just as it appears on the source drive? Thanks, Lenny
  #2   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 115
Default Dos commands ( ver. 6.2)

On 7/4/2011 10:04 PM, klem kedidelhopper wrote:
I just installed a Dos program on my primary master drive thats
running under Windows 98 and I would like to copy the entire program,
that is the root directory and all its subdirectories into my slave
drive to use as a backup. Does anyone know the proper Dos command
including what switches to use so that the program will appear on the
target drive just as it appears on the source drive? Thanks, Lenny


XCOPY *.* and I think it's XCOPY /s *.* for all the sub directories.
should try xcopy /? and see if it spews out the help file.

Jeff


--
"Everything from Crackers to Coffins"
  #3   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 4,045
Default Dos commands ( ver. 6.2)

On Mon, 04 Jul 2011 22:23:52 -0500, Jeffrey Angus
wrote:

On 7/4/2011 10:04 PM, klem kedidelhopper wrote:
I just installed a Dos program on my primary master drive thats
running under Windows 98 and I would like to copy the entire program,
that is the root directory and all its subdirectories into my slave
drive to use as a backup. Does anyone know the proper Dos command
including what switches to use so that the program will appear on the
target drive just as it appears on the source drive? Thanks, Lenny


XCOPY *.* and I think it's XCOPY /s *.* for all the sub directories.
should try xcopy /? and see if it spews out the help file.
Jeff


cd \{where you want to dump the files}
xcopy c:\directory\*.* . /E /C /F /H /K

The "." means the current working directory
/E = Copy subdirectories including empty directories
/C = Keep going even if there's an error.
/F = Display file names during copy
/H = Copy hidden and system files.
/K = Also copy attributes

--
Jeff Liebermann
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558
  #4   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 31
Default Dos commands ( ver. 6.2)

klem kedidelhopper wrote:

I just installed a Dos program on my primary master drive thats
running under Windows 98 and I would like to copy the entire program,
that is the root directory and all its subdirectories into my slave
drive to use as a backup. Does anyone know the proper Dos command
including what switches to use so that the program will appear on the
target drive just as it appears on the source drive? Thanks, Lenny


xcopy /s /e

But I think you have to copy drawer by drawer. Xcopy should ask you if
it is a drawer or file you want to copy (when entering the xcopy
command and the right destination, e.g. xcopy c:\games d:\games /s /e -
you have to the type the destination drawer in order to get the proper
result), choose 'drawer' and it copies the drawer and any/all
subdirectories of the drawer...

Anything other in the root (files without a drawer) can be copied with
'copy *.*'

Copying the whole partition at once is a backup-program IMO. Maybe
there is a DOS command available (MS-DOS Tool-Disk, supplemental disk,
probably) which can do so. There is a file-manager on the supplemental
disk! Freely available from www.microsoft.com!!


--
Daniel Mandic
  #5   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 412
Default Dos commands ( ver. 6.2)

On Jul 5, 6:11*am, "Daniel Mandic" wrote:
klem kedidelhopper wrote:
I just installed a Dos program on my primary master drive thats
running under Windows 98 and I would like to copy the entire program,
that is the root directory and all its subdirectories into my slave
drive to use as a backup. Does anyone know the proper Dos command
including what switches to use so that the program will appear on the
target drive just as it appears on the source drive? *Thanks, Lenny


xcopy /s /e

But I think you have to copy drawer by drawer. Xcopy should ask you if
it is a drawer or file you want to copy (when entering the xcopy
command and the right destination, e.g. xcopy c:\games d:\games /s /e -
you have to the type the destination drawer in order to get the proper
result), choose 'drawer' and it copies the drawer and any/all
subdirectories of the drawer...

Anything other in the root (files without a drawer) can be copied with
'copy *.*'

Copying the whole partition at once is a backup-program IMO. Maybe
there is a DOS command available (MS-DOS Tool-Disk, supplemental disk,
probably) which can do so. There is a file-manager on the supplemental
disk! Freely available fromwww.microsoft.com!!

--
Daniel Mandic


Does this sound like a valid command:
xcopy c:\WP51\*.* . /E /C /F /H /K d:\Wp51

Lenny


  #6   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 31
Default Dos commands ( ver. 6.2)

klem kedidelhopper wrote:

Does this sound like a valid command:
xcopy c:\WP51\*.* . /E /C /F /H /K d:\Wp51

Lenny


I don't know. I have no DOS right by hand...

I would write: xcopy c:\wp51 d:\wp51 /s /e

xcopy asks you then if wp51 should be a file or a directory. choose
directory or drawer.


--
Daniel Mandic
  #7   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 173
Default Dos commands ( ver. 6.2)

On Mon, 04 Jul 2011 20:04:22 -0700, klem kedidelhopper wrote:

I just installed a Dos program on my primary master drive thats running
under Windows 98 and I would like to copy the entire program, that is
the root directory and all its subdirectories into my slave drive to use
as a backup. Does anyone know the proper Dos command including what
switches to use so that the program will appear on the target drive just
as it appears on the source drive? Thanks, Lenny


If it's a Windows program it may place DLL files that it needs specific
versions of to run in a common DLL directory. Copying the program/data
files may not be enough.



--
Live Fast Die Young, Leave A Pretty Corpse
  #8   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 488
Default Dos commands ( ver. 6.2)

klem kedidelhopper wrote:
On Jul 5, 6:11 am, "Daniel Mandic" wrote:
klem kedidelhopper wrote:
I just installed a Dos program on my primary master drive thats
running under Windows 98 and I would like to copy the entire program,
that is the root directory and all its subdirectories into my slave
drive to use as a backup. Does anyone know the proper Dos command
including what switches to use so that the program will appear on the
target drive just as it appears on the source drive? Thanks, Lenny

xcopy /s /e

But I think you have to copy drawer by drawer. Xcopy should ask you if
it is a drawer or file you want to copy (when entering the xcopy
command and the right destination, e.g. xcopy c:\games d:\games /s /e -
you have to the type the destination drawer in order to get the proper
result), choose 'drawer' and it copies the drawer and any/all
subdirectories of the drawer...

Anything other in the root (files without a drawer) can be copied with
'copy *.*'

Copying the whole partition at once is a backup-program IMO. Maybe
there is a DOS command available (MS-DOS Tool-Disk, supplemental disk,
probably) which can do so. There is a file-manager on the supplemental
disk! Freely available fromwww.microsoft.com!!

--
Daniel Mandic


Does this sound like a valid command:
xcopy c:\WP51\*.* . /E /C /F /H /K d:\Wp51

Lenny

If you add a backslash at the end, xcopy "knows" that it is a directory,
and proceeds without interruptions.
  #9   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 796
Default Dos commands ( ver. 6.2)

On Jul 5, 2:51*pm, klem kedidelhopper
wrote:
On Jul 5, 6:11*am, "Daniel Mandic" wrote:





klem kedidelhopper wrote:
I just installed a Dos program on my primary master drive thats
running under Windows 98 and I would like to copy the entire program,
that is the root directory and all its subdirectories into my slave
drive to use as a backup. Does anyone know the proper Dos command
including what switches to use so that the program will appear on the
target drive just as it appears on the source drive? *Thanks, Lenny


xcopy /s /e


But I think you have to copy drawer by drawer. Xcopy should ask you if
it is a drawer or file you want to copy (when entering the xcopy
command and the right destination, e.g. xcopy c:\games d:\games /s /e -
you have to the type the destination drawer in order to get the proper
result), choose 'drawer' and it copies the drawer and any/all
subdirectories of the drawer...


Anything other in the root (files without a drawer) can be copied with
'copy *.*'


Copying the whole partition at once is a backup-program IMO. Maybe
there is a DOS command available (MS-DOS Tool-Disk, supplemental disk,
probably) which can do so. There is a file-manager on the supplemental
disk! Freely available fromwww.microsoft.com!!


--
Daniel Mandic


Does this sound like a valid command:
xcopy c:\WP51\*.* . */E /C /F /H /K *d:\Wp51

Lenny


May work, but the usual is
source, destination, then the conditionals
xcopy c:\WP51\*.* d:\WP51\*.* /E /C /F /H /K
From memory, I had trouble xcopying filenames which contained blanks,
and other Windows 'normally accepted' characters.
the /E will keep the program copying and you may not notice a file is
missing,

but then again if the program is set up for DOS then all the names
probably are legitimate.

Regards,
Robert
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need Goodwill PPS power supply gpib commands Ancient_Hacker Electronics Repair 2 June 18th 08 10:31 PM
sheepdog commands in Irish or Scots Gaelic? John Nagelson UK diy 5 July 22nd 07 02:59 PM
sheepdog commands in Irish or Scots Gaelic? John Nagelson UK diy 11 July 13th 07 06:47 PM
see the useful commands for linux and tips of gambling in the site [email protected] UK diy 0 April 14th 07 09:34 AM


All times are GMT +1. The time now is 07:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"