Computing.Net > Forums > Windows XP > create a script that will show os

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.

create a script that will show os

Reply to Message Icon

Name: newworld
Date: September 29, 2009 at 23:25:37 Pacific
OS: Windows XP
Product: Microsoft Windows xp professional edition
Subcategory: Configurations
Comment:

text file that lists the operating system of your computer, the computer's name and username. The OS, computer name and User name can be obtained via the appropriate environmental variables. The redirection operators will needed to be used to create the text file.
Append to the text file a listing of the files and folders in the current directory. Use the directory command and redirection operators.
Create a variable called myName and assign your last name to this variable. Use the set command.
Create a directory that uses the value of the myName variable as the directory name. Use the md command.
Copy the report text file into the newly created directory. Use the copy command



Sponsored Link
Ads by Google

Response Number 1
Name: Judago
Date: September 30, 2009 at 00:47:00 Pacific
Reply:
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: create a script that will show os

How to I create a program www.computing.net/answers/windows-xp/how-to-i-create-a-program/76863.html

Create a password that expires www.computing.net/answers/windows-xp/create-a-password-that-expires/145291.html

Can create a folder in Windows Expl www.computing.net/answers/windows-xp/can-create-a-folder-in-windows-expl/165077.html