Archive for the 'Uncategorized' Category
! Escape to the shell
? Print local help information
append Append to a file
ascii Set ASCII transfer type. Use this to transfer text files, such as .htm files. See www.superior-host.com/webhosting-guide/linux-files.html for an excellent discussion of when to use ascii mode and when to use binary mode.
bell Beep when command completed
binary Set binary transfer type. Use this [...]
November 18th, 2009 | Posted in Uncategorized | No Comments
COPY does a shallow copy (doesn’t recurse into sub directories) while XCOPY has the option to do a recursive copy which will copy all files and sub folders within the target folder that you are copying. if you’re just copying one single file, either one will suffice.
September 24th, 2009 | Posted in Uncategorized | No Comments
1) Create a batch file with the following code:
xcopy /d /s /y “\\networkPC\e$\foldertobackup” “E:\BackupFolder”
2) Create Windows Scheduled Task
3) Point Windows Scheduled Task to the batch file created in Step 1
4) Make Windows Scheduled Task to run “Daily” starting from 5 am in the morning (before start of the working day)
September 24th, 2009 | Posted in Uncategorized | No Comments
1.Create a batch file “restart.bat” with the following code shutdown -r -t 60 -c “Rebooting computer”
2.Create a scheduled task that would execute restart.bat
September 10th, 2009 | Posted in Uncategorized | No Comments
One method is with a SQL Server agent CmdExec job step. Another is via xp_cmdshell. If you choose to use xp_cmdshell, be sure you fully understand the security implications and don’t grant direct execute permissions on the proc.
How to: Create a CmdExec Job Step
By default, only members of the sysadmin fixed server role can create [...]
September 10th, 2009 | Posted in Uncategorized | No Comments
If you want the start command to run the MENU.EXE file that’s located in say the root directory of drive C:, you would type:
start c:\menu.exe
If you want the start command to run the MENU.BAT file that’s also located in the root directory of drive C:, you would type:
start c:\menu.bat
If you had a MENU.EXE, MENU.BAT [...]
September 8th, 2009 | Posted in Uncategorized | No Comments
We all want to tweak or windows systems to the extreme to get the quickest, most powerful system possible. Many people will disable multiple window services manually before game playing. What a pain!
Many times people forget what the services do or forget to restart the important ones. Services can be easily changed by creating batch [...]
September 7th, 2009 | Posted in Uncategorized | No Comments
To begin this process you need to create an action. If you don’t know how to do this or never used Photoshop’s actions before, I’ll explain it. First you must create a new action from the actions menu, give it a name and hit the record button. Photoshop will now memorize everything you do in [...]
September 7th, 2009 | Posted in Uncategorized | No Comments
ASSOC Displays or modifies file extension associations.
AT Schedules commands and programs to run on a computer.
ATTRIB Displays or changes file attributes.
BREAK Sets or clears extended CTRL+C checking.
CACLS Displays or modifies access control lists (ACLs) of files.
CALL Calls one batch program from another.
CD Displays the name of or changes the current directory.
CHCP Displays or sets the [...]
September 7th, 2009 | Posted in Uncategorized | No Comments
FOR %file_name IN (criteria) DO command
The %file_name is a variable that will contain the name of the current file being processed. These follow usual command line batch programming variable naming conventions; they start with a % (if used in a batch file), and can be any alpha value. They can not be the numbers 0 [...]
September 7th, 2009 | Posted in Uncategorized | No Comments