Learn About Computers

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Learn About Computers

Teaching about Computers


    5. Create Folders, Rename, Delete, Move, Files

    avatar
    Aof
    Admin


    Posts : 97
    Join date : 2018-03-24

    5. Create Folders, Rename, Delete, Move, Files Empty 5. Create Folders, Rename, Delete, Move, Files

    Post by Aof Sat Apr 28, 2018 3:34 am


    5. Create Folders, Rename, Delete, Move, Files
    ----
    1. rename 1.txt "The First One.txt" & dir = renames 1.txt to The First One.txt then lists the directories.
    2. del "Windows 10 Update Assistant.lnk" & dir = delets the short-cut to Windows 10 Update Assistant.lnk
    3. mkdir "folder1" = creates a new folder names folder1.
    4. rd "folder1" /s & dir = removes folder1 from current directory and lists the files in your current directory. You may need to type, "y" to confirm that you are removing the directory.
    5. if you are currently at a folder in the desktop called folder2 and have a folder within it called folder1
    move "folder1" "c:\users\user1\desktop\The New Folder1" = To move a file from the current directory to the username user1's Desktop and rename it.
    move "folder1" .. = to move folder1 back 1 directory.

      Current date/time is Mon May 06, 2024 4:43 pm