NO

Author Topic: Command line argument ending with a slash and quote  (Read 2623 times)

Offline drhoule

  • Member
  • *
  • Posts: 10
Command line argument ending with a slash and quote
« on: October 04, 2013, 12:38:54 PM »
int main( int argc , char **argv);

If the argument is "C:\New Dir\" the result is argv[1]=C:\New Dir"

Something I am doing wrong?

Dr

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Command line argument ending with a slash and quote
« Reply #1 on: October 04, 2013, 02:29:19 PM »
int main( int argc , char **argv);

If the argument is "C:\New Dir\" the result is argv[1]=C:\New Dir"

Something I am doing wrong?

Dr
Here is useful info for that.
May the source be with you

Offline drhoule

  • Member
  • *
  • Posts: 10
Re: Command line argument ending with a slash and quote
« Reply #2 on: October 04, 2013, 04:29:40 PM »
Thank you.
Dr