Re: Command-Line Arguments
From: Karpas (karpas_at_karpanov.serveftp.org)
Date: 02/24/04
- Next message: John A.: "Data Grid help"
- Previous message: David Youngblood: "Re: MSComm Control"
- In reply to: John: "Command-Line Arguments"
- Next in thread: Lenny Abbey: "Re: Command-Line Arguments"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 04:42:27 -0000
Maybe this piece of code will help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vafctcommandx.asp
Karpas
"John" <anonymous@discussions.microsoft.com> wrote in message
news:BAC6D939-812C-489E-B487-CCC29CE4ED18@microsoft.com...
> I use a very simple method of parsing the command-line to get the
arguments, which are currently assumed to be space delimited. However, I
need to make a change to one of my utilities to accept a fully qualified
filename, including the path. This requirements means that I can no longer
use space delimited arguments because paths and filenames can have spaces.
>
> What is the best method of passing arguments when spaces are integral to
one or more of the arguments (i.e., filenames, paths, etc.)?
>
> Thanks,
> John
- Next message: John A.: "Data Grid help"
- Previous message: David Youngblood: "Re: MSComm Control"
- In reply to: John: "Command-Line Arguments"
- Next in thread: Lenny Abbey: "Re: Command-Line Arguments"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|