XP HACKS

-------------------------------------------------------------------------------------------------------------------------
1.Lock a folder in windows XP without any software. Follow the steps Below.1. Make a Folder in C drive rename it as “abc” without quotes.2. Now open Command Prompt from Start Menu.3. Type “attrib +s +h C:\abc” without quotes and press enter.4. This command will Make your folder invisble and it can not be seen even in hidden files and folders5. To make it visible again type “attrib -s -h C:\abc”6. 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 this into it:
Code:
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:
Code:
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 typedir /b /ad > list.txtthen open list.txt with notepad. simple!

3.

1 comment:

  1. 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

    ReplyDelete