Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commands for file operations
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00200712
Message ID:
00200771
Vues:
13
>>Could someone point me towards the VB commands for doing the following:
>>
>>- check if a file exists
>>- determine size of a file
>>- copy a file from one folder to another
>>
>>I have been scratching my head with the VB help for awhile looking for a command for each.
>
>I have found out how to determine the size of a file and how to copy. How do I check if a file exists. Currently, I open a connection to the file. My errorhandler catches error 53 (file does not exist). Is there a command that will do this instead of using the error handler?

Take a look at the DIR() function.
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