Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #18532
| From | "salclem2" <salclem2@yahoo.it> |
|---|---|
| Newsgroups | it.comp.lang.visual-basic |
| Subject | Re: funzione Dir |
| Date | 2015-10-07 23:27 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mv42oc$arr$1@speranza.aioe.org> (permalink) |
| References | <mv3mui$grg$1@solani.org> |
"Greg" <greg@alicie.com> nel suo ultimo post si è così espresso:
> Mi sono accorto oggi che la riga:
> x= Dir("G:\miofile.txt")
> mi restituisce Vuoto anzichè "" quando il drive non è presente. A cosa potrebbe essere dovuto? Grazie per ogni info
>
O esiste o non esiste il drive, dir restituisce sempre una stringa vuota se il file non esiste,
restituisce qualcosa solo se il file esiste.
Help
=================================================================
Dir Function
Returns a String representing the name of a file, directory, or folder that matches a specified pattern or file
attribute, or the volume label of a drive.
Syntax
Dir[(pathname[, attributes])]
The Dir function syntax has these parts:
Part Description
pathname Optional.String expression that specifies a file name - may include directory or folder, and drive. A
zero-length string ("") is returned if pathname is not found.
====================================================================
--
http://freewarewiki.it
http://freewareonline.org
http://netuser.altervista.org
Back to it.comp.lang.visual-basic | Previous | Next — Previous in thread | Next in thread | Find similar
funzione Dir Greg <greg@alicie.com> - 2015-10-07 20:05 +0200
Re: funzione Dir "Freccia (VegetaSSj)" <NIENTESPAMfreccia_vegetassj@hotmail.invalid> - 2015-10-07 22:14 +0200
Re: funzione Dir Luca D <antaniserse@yahoo.it> - 2015-10-07 13:21 -0700
Re: funzione Dir "salclem2" <salclem2@yahoo.it> - 2015-10-07 23:27 +0200
Re: funzione Dir SB <stNOOObenevSPAM@tin.it> - 2015-10-08 10:56 +0200
Re: funzione Dir Greg <greg@alicie.com> - 2015-10-08 21:29 +0200
Re: funzione Dir "salclem2" <salclem2@yahoo.it> - 2015-10-08 23:23 +0200
Re: funzione Dir "salclem2" <salclem2@yahoo.it> - 2015-10-08 23:26 +0200
Re: funzione Dir Greg <greg@alicie.com> - 2015-10-08 23:48 +0200
Re: funzione Dir Greg <greg@alicie.com> - 2015-10-09 16:19 +0200
Re: funzione Dir SB <stNOOObenevSPAM@tin.it> - 2015-10-09 16:38 +0200
Re: funzione Dir Greg <greg@alicie.com> - 2015-10-11 00:10 +0200
Re: funzione Dir Greg <greg@alicie.com> - 2015-10-08 13:05 +0200
csiph-web