Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows scripting host.
Message
De
11/06/1999 22:54:16
 
Information générale
Forum:
Windows
Catégorie:
Autre
Divers
Thread ID:
00228363
Message ID:
00229087
Vues:
19
>>>Hi,
>>>
>>>I would like to write a script for Windows'98 to replace a MS-DOS batch file. This script should copy several files from one directory to another. Does anybody know how to do that?
>>
>>Instantiate the Scripting.FileSystemObject in the script and use its CopyFile method to perform the copies.
>>
>>>I have Wscript and Cscript installed.
>>>
>>>Sincerely,
>
>Hi Ed,
>
>Thank you for reply. I looked at Microsoft WSH programmer's reference and didn't find anything about FileSystemObject. May you be more specific?
>


It's in the MSDN as the Scripting.FileSystemObject; if you pick up the next issue of Windows NT Systems there should be at least one and possibly two articles on it from a VB perspective, and there's plenty of source code here on UT and on the various scripting-related web sitwa. There was also a recent article that discussed it from a VFP perspective in FoxTalk (within the past two months or so.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform