Here are some interesting Operating system and softwares tips and tricks 4u.JUST CLICK ON THE PICTURE IN THE BLOG FOR ENALARGED VIEW.

sd
Showing posts with label Command-line interface. Show all posts
Showing posts with label Command-line interface. Show all posts

Wednesday, March 7, 2012

Apply paths and file names in the command line(Windows XP, Vista, 7)

               While navigating in the command line, you have to work your way along the paths or manually enter the complete target path. You would like to simplify this difficult and error-prone work.
               The correct way of applying path and file names in the command line depends on the respective Windows version and other parameters. In Vista and Windows 7, it is recommended, for example, to first navigate in Windows Explorer and then open the command line in the correct folder with the command ‘Open command prompt here’.
                For flexible application of paths and file names for use in the command line, it is already possible in XP to drag and drop the elements from the Windows Explorer to the command line. While Vista does not allow it, this method is again available in Windows7, provided that the command line has not been started with administrator rights. Thus, for example, you can type ‘Type’ and then drag a file from Explorer. Its name will be added correctly and if needed with the quotation marks so that the command can be completed. In Vista, the only way is the more difficult method of copying and pasting. For this, in the Windows Explorer click on the concerned element while keeping the [Shift] key pressed and select ‘Copy as path’. Now, change to the command line and similarly click there with the right mouse button in the window. The context command ‘Add’ will now apply the data.
Read More...

Saturday, February 25, 2012

Move user profiles to another disk for security(Windows Vista, 7)

             For proper segregation of system and data, you want to move a user profile from the boot drive to another hard disk. Windows however does not think this should be easy.
             It is usually not possible to move user profiles under Windows. You thus have to use a trick to move the profile data to another location of your choice and let Windows continue to believe that everything still is where it should be.
              For this, set up a junction (connection). The prerequisite for this is that you are using the NTFS file system. Since the following steps are not reliable with Windows already running, start the system with the installation DVD and follow the steps up to the language selection. Use the key combination [Shift]+[F10] to open a command line window. Check the individual drive alphabets with ‘dir’ because they might become different from the normal assignments in Windows. Then copy the existing profile data to the new location via ‘robocopy’. The options you will need might include ‘/mir’ for a complete transfer of the directory structure, ‘/ sec’ for copying the security information and then ‘/xj’ for excluding the existing junctions. Since it is not very practical to move one single user profile and to leave the rest of them on the system disk, use the action for the entire folder ‘c:\users’. The command should then be robocopy c:\users d:\Newusers /mir /sec / xj if you want to save the profiles under ‘d:\Newusers’ for instance.
              Here, you must delete the original folders completely with the command rd c:\users /s /q. Then create the required junction in the file system with mklink c:\users d:\Benutzer /j. Then close the command window and cancel the Windows setup. Windows can now start normally and uses the profiles from the new location.
Note: The new path must be available at all times. If you need to restore the system for instance, the action cannot be undone. In order to bring the user profile back to the original location, you need to undo the specified steps in the same manner. For this, first delete the junction using the command rd c:\ users. The real data at ‘d:\Newusers’ is retained and can be copied to ‘c:\users’ on the system drive.
Read More...

THE WINDOWS TRICKS Headline Animator