Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |