In this post, we will be looking into some of the tips and tricks which makes us easy to operate windows OS (irrespective of any version of OS starting from XP)
1.Lock a folder in windows XP without any software. Follow the steps Below.
- Make a Folder in C drive rename it as “abc” without quotes.
- Now open Command Prompt from Start Menu.
- Type “attrib +s +h C:abc” without quotes and press enter.
- This command will Make your folder invisble and it can not be seen even in hidden files and folders
- To make it visible again type “attrib -s -h C:abc”
- You can lock any other folder also by changing the location C:abc to address of your folder.
2.Copy Windows XP Folder File Names to Notepad
- Navigate to the folder that you want to create a list for.
- Then create a new txt file in the same directory and paste below lines into it:
dir /a /-p /o:gen >list.txt
- Then save the txt file.Right click on the txt file you just created and then change the extension from .txt to .bat.
- Now double click on the .bat file and it will generate a txt file (called list.txt) with a list of all the files and folders in it.
- OR simply use: dir /b >list.txt
If you add the /b switch to the batch file, it will remove all the extra info. The batch file will look like this:dir /a /b /-p /o:gen >filelisting.txt
IN VISTA:
dir /b /ad > list.txt works very fine.
open a command prompt, navigate to your music folder, then type
dir /b /ad > list.txt
then open list.txt with notepad. simple!
1. Open up your command prompt by typing cmd in the run dialog box and hitting Enter.
2. Navigate to the directory which has the files(navigate to the folder or dir from where we need the file names to be copied in to a txt file) and type the following command –
DIR /B /O:N > filename.txt
This will save all the filenames in the current directory to a text file. The text file will be saved in the same directory.
3. To save file names from any sub-directories in the current folder, just add /S like –
DIR /B /O:N /S > filename.txt
NOTE – if we want to keep the txt file in C drive & want to copy all the files present in D drive then –
D:DIR /B /O:N /S > C:filename.txt