Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 11th, 2004, 01:31 PM
lost_pirana lost_pirana is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Stanford CA
Posts: 18 lost_pirana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Windows Batch files

Hi,

I want to be able to pass in an argument to a batch file so that I can have spaces and double quotes in the argumnet. However, when I try to do this, the bact files thinks the extra quotes are end quotes for the quote before it and breaks the argument into multipl arguments. Is there a way to escape the quote????

mybatch a "this "should" be "one" argument"

a = first arg
the rest = second arg

Thanks

Reply With Quote
  #2  
Old June 11th, 2004, 08:25 PM
lost_pirana lost_pirana is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Stanford CA
Posts: 18 lost_pirana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0

Reply With Quote
  #3  
Old June 21st, 2004, 02:54 PM
DevCon4 DevCon4 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Northern Thailand
Posts: 74 DevCon4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 51 sec
Reputation Power: 5
quotes in batch params

Hi,

It worked for me.

What EXACT windows / OS are you using?

M2

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Windows Batch files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway