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.
Environment Variable to a text file
Name: Hazelett Date: July 20, 2008 at 14:54:33 Pacific OS: WINXP SP2 CPU/Ram: 1 meg
Comment:
How do I access the path statement and write that path to a .TXT file?
Name: Hazelett Date: July 21, 2008 at 10:51:44 Pacific
Reply:
HI! Thsnks for responding. Trouble is your solution does not work. Not by itself anyway. The string you offer does absolutely NOTHING useful
But there's a lot more to it than that. In a batch file or a script I can use a line that says
echo %path%>fred.txt
rather than
path>fred.txt
and my version will solve "PART" of my problem but it isn't a COMPLETE solution.
Are you knowledgeable regarding batch files or scripts? The quality and size of your response makes me wonder. If you want to talk about the much larger problem, one that involves the PUSHD and POPD commands, email me at at
hazelett@gawab.com
or
rehazelett@yahoo.com
No sense in cluttering this forum with talk that will probably interest no one else.
Thanks,
Bob
Robert Earl Hazelett
0
Response Number 3
Name: Zenith Date: August 12, 2008 at 15:39:03 Pacific
Reply:
ECHO %PATH% > PATH.TXT
☺
Search Engines Are Your Friends ☺ Morpheus: There is a difference between knowing the path and walking the path. "The Matrix"
Summary: Greetings, I'm trying to write a text batch file for NT that tracks user logins by creating a file called %username% evertime a user logs in. I then re-direct ">" that info to a .txt file as a psuedo ...
Summary: Hello. I'm trying to write a batch file that can pull the contents (just a single word) from a text file. I am currently using a batch file to output the user context of a login to a text file. What...