Elon's Blog

Stuff that may be of use to someone…

Archive for the ‘Windows Office – General’ Category

Move \ Copy Files with Date and timestamps using DOS commands

Posted by Elon B. on September 2, 2012

You can use DOS commands , possibly in a batch file (.bat)  if you want, to copy files from one location to another, adding a DATE or TIME stamp to the file name.

Open up a DOS\Command prompt window.

We can see the results of using the ECHO cammand to display the current date and time, as follows.

DOS Date and Time commands

We can then use this in our Dos COPY command as follows. [  copy *.txt *_%date:/=%_.txt  ]

Don’t forget you can use wildcards for the filenames as normal.

Copy adding DATE to filename

Copy with Date and Timestamp  [  copy *.txt *_%date:/=%_%TIME::=%.txt /Y ]

Add DATE and TIME to filename

Hope you find this useful.

Advertisement

Posted in Microsoft Related, SSIS, Windows 7, Windows Office - General | Tagged: , , , , | Leave a Comment »

Useful Windows Short Cuts

Posted by Elon B. on May 13, 2012

Ctrl-Shift-Esc.        Brings up Task Manager

 

Alt+Enter               View properties for the selected item

Alt+Esc                   Cycle through items in the order that they had been opened

Alt+F4                    Close the active item or quit the active program

Alt+ Spacebar       Open the shortcut menu for the active window

Alt+Tab                 Switch between the open items

Shift+Delete           Delete the selected item permanently  without placing the item in the recycle bin

Shift+F10  (Same as RightClick)         Display the shortcut menu for the selected item

Windows key                        Displays the start menu

Windows key + D                 Minimizes all windows and display Desktop

Windows key + D                 (again) Opens all windows up again

Windows key + E                  Opens a new Explorer window

Windows key + F                  Displays the Find all files box

Windows key + L                  Locks your computer

Windows key + R                 Displays the Run command box

Windows key + F1               Displays the Windows Help menu

Windows key + Pause         Displays the System Properties dialogue box

Windows key + Tab             Cycles through the buttons on the task bar

Windows key + M                        Minimize all (just like Win+D)
Shift + Windows Key +M         Undo Minimize all

Posted in Windows 7, Windows Office - General, Windows Vista, Windows XP | Tagged: , , | Leave a Comment »

 
%d bloggers like this: