Author's posts
Nov 21 2012
Combining Files in PowerShell
If you need to combine text files in cmd.exe, you would issue the following command:
1 |
<span style="font-family: Consolas;">copy file1.txt+file2.txt+file3.txt combined_files.txt</span> |
If you wish to do the same for binary files, you would use the following command:
1 |
<span style="font-family: Consolas;">copy /b file1.bin+file2.bin+file3.bin combined_files.bin</span> |
To do the same in PowerShell is pretty straightforward. If the destination file does not already exist or already contains content, you’ll …
Oct 13 2012
Solved: The working folder is already in use by the workspace
When trying to map a local folder to a TFS server as a different user than the one under which I was logged in, I kept getting the message:
1 |
The working folder [source path] is already in use by the workspace [workspace name];[owner] on computer [tfs server]. |
I was finally able to map the folder by first deleting the local workspace as the logged in user:
1 |
tf workspace /delete /server:[tfs server] [workspace name];[owner] |
Note that the “owner” was …
Sep 24 2012
TFS Quick Tip: Cloaking
In the Source Control Explorer in Visual Studio (VS) 2010 or VS 2012, you can cloak any folder in the source tree that you want to recursively exclude from “Get Latest Version” operations. Just right-click on the folder, select “Advanced” and “Cloak…”. VS 2010/2012 will even delete all the local files and folders for those …
Aug 23 2012
Hyper-V Client Problem Due to Time/Date Difference
I ran into a problem yesterday where I couldn’t use the Remote Desktop client in Windows 8 to connect to a client-side Hyper-V guest. I got the following error: Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your computer and the remote computer. Make …
Aug 21 2012
Setting the Title of the Command Prompt Window
I was wondering how you change the title of the Command Prompt window. A little searching found that Scott Hanselman had answered this question here. All you have to do is type:
1 |
title <your text> |
and press Enter to change the title of your Command Prompt window. It should look like the following: Note that if you are …