AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 18th August, 2002, 02:16 PM
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 13,075

Using % in batch files

Ok, I'm stumped here...

I want to use a program in a batch file, but I need to pass it a parameter with a "%" in the name (like "%y").

What happens is that the %y gets expanded out into a variable, which is usually blank... hence I can't get my parameter to the program I'm trying to call!

How can I escape the % to ensure that it gets sent as a %?

AidanII
__________________
Any views, thoughts and opinions are entirely my own. They don't necessarily represent those of my employer (BlackBerry).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 18th August, 2002, 02:20 PM
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 13,075

Flash of inspiration...

Not /%
Not \%

But %%

AidanII
__________________
Any views, thoughts and opinions are entirely my own. They don't necessarily represent those of my employer (BlackBerry).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
batch file



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New PS3 Owners Discover Noisy, Defective Console Batch Samuknow General Hardware Discussion 0 12th April, 2007 01:15 PM
Good tool for batch processing of images? danrok Digital Image, Photo, Video and Audio Editing. 6 31st May, 2004 04:07 AM
"Calling All Files"... AOA Files is now SQL Pinky Random Nonsense! 27 12th September, 2002 07:33 PM
Files that are suitable for uploading to AOA's files?? cloasters Forum Feedback and Suggestion Box 5 20th May, 2002 03:13 PM


All times are GMT +1. The time now is 05:25 AM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0