#33570 - 2002-11-26 06:10 PM
Copy switch
|
KiXtart_Freshman
Fresh Scripter
Registered: 2002-11-21
Posts: 22
|
Need help with something... I'm trying to place a [/v] switch for the "copy" command. But whenever I use the switch, it doesn't copy. When I leave off the switch, it works. What am I doing wrong?
code:
Copy "S:\DIR\CODIR\zipdat.out" $HD_DRV+"\CODIR\DIR\OUT" /v
Thanks in advance.
|
|
Top
|
|
|
|
#33572 - 2002-11-26 06:24 PM
Re: Copy switch
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Even looking at Copy /? or Xcopy /? we don't see the /v switch either..
Hmm..
Kent
|
|
Top
|
|
|
|
#33575 - 2002-11-26 06:30 PM
Re: Copy switch
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Doh!
Kent
|
|
Top
|
|
|
|
#33579 - 2002-11-26 06:37 PM
Re: Copy switch
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
If you want to to use the "/v" switch then you must invoke the command that uses it. The KiXtart "Copy" command does not use that switch. The DOS "Copy" command does. That means that you will have to use SHELL or RUN to invoke an external command/program.
You have to learn the difference between a KiXtart command and an operating system/DOS command or utility and when to use each. [ 26. November 2002, 18:39: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#33580 - 2002-11-26 06:42 PM
Re: Copy switch
|
KiXtart_Freshman
Fresh Scripter
Registered: 2002-11-21
Posts: 22
|
I'm sorry if I'm making everyone mad by posting dumb questions, but I thought the point of this "starters" forum was to post/answer questions for beginners? Thanks again. [ 26. November 2002, 18:45: Message edited by: KiXtart_Newbie ]
|
|
Top
|
|
|
|
#33581 - 2002-11-26 06:50 PM
Re: Copy switch
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
You are correct that "starters" is the place to get basic questions answered. But you also have to realized that the basic lesson for any IT professional is to do some due diligence in understanding how and where to get the info.
We are more then willing to help with problems related to the interpretation of documentation and the giving general advice on how to approach a problem, but you shouldn't use the board as an on-line manual.
I tried in my last post to give you the piece of info that seemed relevant. That being that KiXtart and the DOS environment share command and possibly function names. You need to read sufficiently to understand that and which commands/functions might be affected.
Feel free to post as often as necessary. [ 26. November 2002, 18:51: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#33582 - 2002-11-26 07:03 PM
Re: Copy switch
|
KiXtart_Freshman
Fresh Scripter
Registered: 2002-11-21
Posts: 22
|
I just wanted to say thank you Howard and everyone for your help. And I apologize to everyone else whom I may have offended from my posts. I guess I'll just have to try and research harder before I post. But unlike some of you who have been doing these things for years, I'm a new graduate. And apparently, I was not thought anything about DOS or Kixtart in school. So my means of learning includes the manual and this board. Thanks for everyone's patience.
|
|
Top
|
|
|
|
#33583 - 2002-11-26 07:06 PM
Re: Copy switch
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Howard... are you trying to contest Les' "The Grumpiest Old Poster" title.
We may have to get you two to the WWF, for the next Summer Slam
|
|
Top
|
|
|
|
#33584 - 2002-11-26 07:11 PM
Re: Copy switch
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
The last couple threads should have toughened your hide somewhat.
When you decide you know enough to change your name from *_Newbie to *_PowerUser and look back to these threads, you'll have a better understanding of why things are what they are.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 384 anonymous users online.
|
|
|