Thursday, 27 May 2021

CMD tips

 

CMD Training 

/outside 

inside -\


Directory is the location for storage of 

file in hierachial format.


To navigate to your home directory, use "cd" or

 "cd ~" To navigate up one directory level, use "cd .." To navigate to the previous directory (or back), 

use "cd -" To navigate into the root directory, use "cd /"


make dir = mkdir 

remove dir = rmdir


if there is folders inside directory

then 

How to delete

rmdir /s folder names


path variables is just a shortcut in CMD 


wmic logicaldisk get name 

disk nmaes 



del - delete


type - print 



dir > abc.text


echo hrllo > shs.text

echo ducduc >> shs1.text

type text


dir e: cuurent doesn't affect


No comments:

Python if / else

 Python if / else a1 = int ( input (" Enter the number: \n ")) a2 = int ( input (" Enter the number: \n ")) a3 = int ( i...