Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set from a file

Status
Not open for further replies.

Smudge1977

Technical User
Nov 12, 2002
64
GB
I want to take the contents of a text file and set this in an enviroment variable
I have tried stuff like
type text.txt | set /p TEXT=
and i can't do it an ideas please?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top