Here I present you a simple batch code program to Hide or Unhide your files/folder. It will help you saving your time and you will get more familiar with batch programming.
Basically it is a shortcut for following Controls:-
Control Panel-> Folder Options -> Show Hidden Files
-> Hide Hidden Files
-> Show Protected Operating System Files
-> Hide Protected Operating System Files
if after executing the script your explorer not restarts than
- press CNTRL+SHIFT+ESC than
- Go File-> New Tasks
- Type explorer.exe and press “enter”
[button color=”red” size=”big” link=”https://dl.dropboxusercontent.com/u/30481836/HIDE-SHORTCUTS.bat” target=”blank” ]Show/Hide Batch Shortcut[/button]
[button color=”red” size=”big” link=”https://www.virustotal.com/en/file/ea48da4abc39e26c6aa2fe69f31b865ffddc1eff0d4dfa03af260a7a8db93b9d/analysis/1374165613/” target=”blank” ]Virus Scan for file[/button]
If you have any problem feel free to ask by comments 🙂
1 more thing I want to add that batch(.bat) files are not always harmfull as most people thinks moreover I think its the most easiest and usefull programming 🙂 I can easily convert it to .exe but I want to show the use of batch commands. So happy coding 🙂
With Growing Technology, We always tries to manage our data so that it can easily be reached. Operating systems like Window 7 & Vista comes with a utility called DISK MANAGEMENT, which helps in creating new partitions without the need of formatting or loosing our old data.
We can shrink or expand our drive according to our need in Window 7 using DISK MANAGEMENT. Disk Management is a utility through which we can create a new drive or we can merge existing drive thus it helps in shrinking/expanding our hard drive.
Procedure to Create New Partition in Windows 7 Hard Drive Using Disk Management
- First of all, go to start menu and then right click on “Computer” and click Manage.
- A new Window will come, In left hand side tab click on DISK MANAGEMENT under Storage.
- You will get a list of your all drives. Then Right Click on your selected drive (from which you want to transfer space to our new drive) and click on shrink volume.
- A New Window would open. Check out the second option which is “Size of Available Shrink Space”. This is the maxiumum possible size of your new drive. Now fill the value lower or equal to the available value in third option which is “Enter the Amount of Space to Shrink”
- After Entering the Value click on shrink and wait for the process to finish. If everthing goes well, you will have a new volume in disk graph reading Unallocated Space.
- Right Click on that Unallocated Space and click on the option “ New Simple Volume “.
- A new window will open up. Go through all steps required and fill in the values of your new volume’s size (Usually the value is the same one that you entered as the volume to be shrunk.)
- You will also need to assign a drive letter and also it will ask for file system to format our drive. Select “NTFS” in it and click on Next and after that Finish.
- Congrats, You have one New Drive now. You successfully partitioned your Hard Drive in Windows 7 without formatting and loosing your old data.
[box type=”shadow” ]SOME THINGS TO REMEBER IN MIND
- Window 7 home, starter or Premium and other versions except Ultimate properly doesnt allow to partition if the number of partitions exceeds 4
- The Method will probably not work in Window 7 Starter Edition[/box]