Computing.Net > Forums > Programming > value from file into variable win2K

value from file into variable win2K

Reply to Message Icon

Original Message
Name: lawk
Date: August 11, 2004 at 03:38:49 Pacific
Subject: value from file into variable win2K
OS: win 2000
CPU/Ram: 1gb
Comment:

Hi
I'm trying to pass a vaule from a file in to a variable and it seems not to work, is this possible in win 2000

any help would be very much appriecated.

Kin

@echo off
ver > go$$$.bat
echo @echo off> ms-dos.bat
echo set version_=%%2>> ms-dos.bat
call go$$$
echo Your MS-DOS version is %version_%
rem del go$$$.bat
rem del ms-dos.bat


Report Offensive Message For Removal


Response Number 1
Name: IVO
Date: August 11, 2004 at 08:03:29 Pacific
Reply: (edit)

See my answer in your previous post in Windows 2000 Forum and do not open multiple threads about the same subject.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: value from file into variable win2K

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge