Re: vbs version of DOS xcopy command?

From: Joe Earnest (joeearnestNO_at_SPAMqwest.netPLEASE)
Date: 04/23/04


Date: Fri, 23 Apr 2004 11:26:54 -0600

Hi,

"Lee C." <ChestnutLee[SpamBlock]@hotmail.com> wrote in message
news:ufVDZLUKEHA.2576@TK2MSFTNGP12.phx.gbl...
I managed to get both of those to work (from "tomthumbkop" and "dk1983")
with some minor problems I had created for myself regarding returned errors
caused by filling up H:\ partition trying this trick over and over (fixed by
making room on H:\ again so's it could copy).

This points up though how little I know about this vbs stuff. I don't
understand why the ", 0, True" extension works, and the ", 2" (or ", 0")
extension did not--why the "True" was required? I don't know yet. However,
I first learned to do .bat files from a book, 30-40 pages with the commands
and switches and explanations of what did what (cryptic, but I puzzled my
way through it). I think I could benefit from the same sort of basic
education on VBS stuff, what are the commands, switches, what does what?

Are there any such resources available on the web? Will I need to go to the
computer store and buy a book? Any titles anybody wants to recommend to a
beginner?

Thanks guys for the help so far.

----
Start with this:
Windows Scripting Documentation Download (English Language)
http://www.microsoft.com/downloads/details.aspx?FamilyID=01592c48-207d-4be1-8a76-1c4099d7bbb9&DisplayLang=en
Look up the Run method.
Joe Earnest


Relevant Pages

  • Re: vbs version of DOS xcopy command?
    ... > This points up though how little I know about this vbs stuff. ... > sort of basic education on VBS stuff, what are the commands, switches, ... > the inception of my plan, ...
    (microsoft.public.scripting.vbscript)
  • Re: Suggestions, plz, for computer-driven power switches for its peripherals
    ... A search-engine scan of the web for "xxx switches", where "xxx" has been several different modifiers, yields me seas of hits, but a lot of slogging through them hasn't yielded what I seek. ... What I *don't* want is the language to be Visual Basic, ... You use one of these in a house, and it sends commands over the A.C. wiring. ... If you can figure out the standard being used for sending the commands ...
    (microsoft.public.windowsxp.hardware)
  • Specialised remote control
    ... Only uses 6 commands of a SAA3004P IC capable of hundreds of commands. ... Could the switches change 2 preset banks of codes for operating 2 such sets ... Before scoping pulse stream and delving deeper I ...
    (sci.electronics.repair)
  • Re: Suggestions, plz, for computer-driven power switches for its peripherals
    ... A search-engine scan of the web for "xxx switches", where "xxx" has been several different modifiers, yields me seas of hits, but a lot of slogging through them hasn't yielded what I seek. ... What I *don't* want is the language to be Visual Basic, ... You use one of these in a house, and it sends commands over the A.C. wiring. ... If you can figure out the standard being used for sending the commands ...
    (microsoft.public.windowsxp.hardware)
  • Re: Can someone explain why we should need powerscript.
    ... You cannot start CScript and then type in VBS commands, one at a time, and have them executed. ... You write small programs, save them as VBS files, and then execute them with CSCRIPT or WSCRIPT. ... You can type commands in and have them executed instantly, or you can create "batch files" of multiple PSH commands and execute them together. ...
    (microsoft.public.windows.server.scripting)