my tweets
- Sugar Should Be Regulated As Toxin, Researchers Say http://t.co/AHjZMnRk 40 mins ago
- Dropbox offers up to 5GB of free space to anyone willing to go beta http://t.co/X5PMv7Jh 3 hours ago
- Microsoft Doesn?t Read Their Own Terms of Service Apparently http://t.co/EnHxDBrR 5 hours ago
- finally got a half decent chair for working at home, my back and shoulders will hopefully be thanking me soon. 6 hours ago
- Nietzsche was only half right http://t.co/Kowc90Xs 8 hours ago
-
RSS Links
Archives
Blogroll
xcopy won’t copy .css files
I use xcopy as part of a build script to copy a bunch of files and directories from a subversion checkout directory to another directory so that I can zip them and upload them to a server.
I have an exclude file that I use to tell xcopy to ignore files like the obj directory and .cs codebehind files. I noticed that none of my .ascx and .css files were being copied?! Turns out the .cs entry in my excludes list was causing those other files that had .cs in the extension not to get copied.
The solution? Add a backslash to the end of the .cs entry so it looks like this:
.cs\
All your other files with .cs in the extension will now get copied.
Hope this helped someone!