Computing.Net > Forums > Disk Operating System > for lop and variable

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

for lop and variable

Reply to Message Icon

Name: zackysue
Date: October 19, 2009 at 21:57:26 Pacific
OS: Windows Vista
Product: Microsoft Windows vista ultimate w/ sp1 (full product)
Subcategory: Software Problems
Comment:

hi guys,

I'm having problem to open notepad and print
but my first batch is running but another batch is quet similiar but got error..

this is my first batch (which is running)
for %%x in ("c:\users\komp.zakaria\Desktop\temp\A\"*.txt) do start /wait notepad /P %%x

under my secong batch i want to make folder A as variable ..it can detect the variable A but fail to print..this is the code..

for /f "eol=; tokens=1,2,* delims=," %%x in (larian.csv) do start /wait notepad /P

c:\users\komp.zakaria\Desktop\temp\%%x\*.txt

hope u guys can help..



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: October 19, 2009 at 22:25:24 Pacific
Reply:

wrong forum

try vista or programming


=====================================
Helping others achieve escape felicity

M2


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: for lop and variable

for loops and variables in DOS www.computing.net/answers/dos/for-loops-and-variables-in-dos/10200.html

Motherboard for DOS and Linux www.computing.net/answers/dos/motherboard-for-dos-and-linux/14128.html

Batch Logging and Variables www.computing.net/answers/dos/batch-logging-and-variables/15100.html