This command will copy the contents of dir2 and place them into dir4 using BASH shell. -u or –update is optional and will only copy if source file in newer. -R or –recursive will copy all sub directories. cp dir1/dir2/. dir3/dir4 -R -u
Author: contrib
SCCM Error 0x800700A1
System Center Configuration Manager Error 0x800700A1 This error seems to occur due to missing a partition. The following commands can be used to create one during build using a command prompt(f8). diskpart list disk select disk 0 clean create partition primary format quick
Clone USB Data Drive
To clone one USB drive to another replace source and dest below with your Windows drive letters: xcopy <source>: <dest>: /e /h /k
Fix Windows 7+ Corrupt Profile
If a user is given a temporary profile whilst logging onto Windows you can try the following to remedy the problem. 1. Log in using an account with administrative rights 2. Delete the key associated with the corrupt user in HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList 3. Delete the key associated with the corrupt user in HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileGuid 4. […]
IE7 Input Button Width Issue
IE7 and IE6 will by default add padding to input button object depending on width, to remove the extra padding, add the following css to your input object: overflow: visible;
Reset Mac OS Admin Password
If you have lost the only admin password for your Mac OS you can try this: This may not work if protection has been put in place. On boot hold [Command-S] for single-user mode this will display a terminal prompt as root. At the terminal type: mount -uw / rm /var/db/.AppleSetupDone shutdown -h now Now […]
Reset RDP Sessions
When using Windows RDP you may encounter the error message ‘The terminal server has exceeded the maximum number of allowed connections’. You can delete open sessions or use the admin switch to administer the server. At the command prompt: To administer the server: mstsc /v:<server> /admin To obtain a list of current sessions: query session […]