morimages.blogg.se

Root directory windows 10
Root directory windows 10






root directory windows 10

fsutil file createnew mytestfile.txt 1000 Use the fsutil utility, and make the file 1,000 bytes in size. Set-Location c:\mytestĬreate a file named mytestfile.txt in the C:\Mytest directory. bcdeditĬhange the working directory back to the C:\Mytest directory you created earlier.

  • After a few counters have been displayed in the Windows PowerShell window, press Ctrl+C to break the listing.ĭisplay the current startup configuration by using the bcdedit command (note that you must run this command with admin rights).
  • Obtain a listing of memory counters related to the available bytes by using the typeperf.exe command. You can do this by using the Set-Location command, as follows. dir m*Ĭhange the working directory to the Windows PowerShell working directory. Obtain a listing of all files and folders off the root that begin with the letter m. dirĬreate a directory off the root of C:\ by using the md command. Obtain a listing of all the files in the root of C:\ by using the dir command. The Windows PowerShell prompt opens by default at the root of your user folder.Ĭhange to the root of C:\ by entering cd c:\ inside the Windows PowerShell prompt.
  • Open Windows PowerShell by choosing Start | Run | PowerShell.
  • You will find that it is as easy to use command-line utilities in Windows PowerShell as in the CMD interpreter however, by using such commands in Windows PowerShell, you gain access to new levels of functionality. In the following exercises, you’ll explore the use of command-line utilities in Windows PowerShell.

    root directory windows 10

    Exploring commands: Step-by-step exercises








    Root directory windows 10