Page 2 of 2 <12
Topic Options
#137473 - 2005-04-08 06:57 PM Re: Put the resutls of a Shell command into a variable??
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Which is why I said "If you right-click on the file and it does not show version, then neither KiX nor FSO would return it either"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#137474 - 2005-04-08 07:34 PM Re: Put the resutls of a Shell command into a variable??
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
I didn't say you have too many quotes, i said you are missing one - more specifically the end quote.

SHELL '%COMSPEC% /e:1024 /c "dir /b /ad /o-n %ProgramFiles%\Java\ >> c:\JavaDirectory.txt"'

Probably won't solve your problem, but should be fixed anyway.

Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 293 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.051 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org