One of the things that's neat about the IIS / ASP.NET environment is the ability to do an "xcopy deployment" - you can literally just drop a stack of .aspx pages in a web-shared directory, and ISS will figure out how to show them to the web.
Is there a way to do something similar with JSPs?
The exact use case in question is this: we ha...
Hi,
I have an application loader that dynamically loads applications.
An application is an assembly with all of its dependents in a single folder.
Using XCOPY deployment I can add/remove applications by copying/deleting a folder.
To facilitate standard .NET assembly binding I copy the application folders under the bin of the loader.
I s...
Our application dynamically loads a set of private assemblies that each reside under their own sub-directory. They each have their own dependencies which are also in that same sub-directory. Each assembly is strongly named and the dependencies are the same library, but different versions.
MyApp
|-> Folder1\
| |->PrivateAssembly...
I'm trying to use a batch file to help setup a build project.
As part of that process I need to copy a lot of files from a temporary directory:
%temp%\wcu to a new directory in the %programfiles% directory.
I am using the following command:
xcopy %temp%\wcu\dotnetframework\*.* %programfiles%\"Microsoft SDKs\Windows\v6.0A\Bootstrapper\P...
My laptop had an install error with Vista Ultimate and now it does not let me run Visual Studio. I was able to install Visual Studio 2008 on my HP TouchSmart without a problem and now I use it on there. I want to be able to travel though. So I was wondering if I take the folder in which Visual Studio was installed and put it on my extern...
In order to improve the deployment / build process of my ASP.NET app, I would like to make a .bat that
builds the current solution in release mode
xcopy the files to a remote server
Creating a release build via command line is easy.
But how can I xcopy the files to the remote server?
I think I have to map the remote destination t...
I have a batch file which loops through a content of a text file and copies a specific file using xcopy command.
here's the snippet.
for /f %%a in (FilesToCopy.txt) do (
xcopy ..\..\Common\%%a Common\%%a /i /d /c /v /s /y /f
xcopy Common\%%a ..\..\Common\%%a /i /d /C /v /s /y /f
)
%%a contains values like
Images\image1.jpg
Images\i...
This is a follow-up to my previous questions (Copy Update Create VBScript and File Folder copy). So far I have the following script to copy files using xcopy:
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set wshShell = WScript.CreateObject("WScript.Shell")
strUserName = wshShell.ExpandEnvironmentStrings("%USERNAME%")
' Disco...
I am getting the following error, which I don't understand:
Error 1 The command "xcopy "D:\Users\johndoe\Documents\Visual Studio 2008\Projects\MyProject\MyProject.Modules.Ribbon\bin\Debug\MyProject.Modules.Ribbon.dll"
"D:\Users\johndoe\Documents\Visual Studio 2008\Projects\MyProject\MyProject\bin\Debug\Modules\" /Y" exited with c...
Hello,
For an C# console app like this is it better to use xcopy or robocopy?
Also, Does xcopy pause until copying is complete?
// copy web project to temp
Process proc = new Process();
proc.StartInfo.UseShellExecute = true;
proc.StartInfo.FileName = @"C:\WINDOWS\system32\xcopy.exe";
//pro...
Hi,
i have this batch file - myCustom.bat which has following code in it -
set dest_server=\\myRemoteSrv\Builds
set dest_build_loc=%dest_server%\%2%\
echo %dest_build_loc% >> buildLocLog.txt
echo Copying %1\myTest.zip %dest_build_loc% >> buildLocLog.txt
xcopy %1\myTest.zip %dest_build_loc% /D /F >> xcopyOutputLog.txt
...
I am using VBScript to copy files using xcopy. The problem is that the folder path has to be entered by the user. Assuming I put that path in a variable, say h, how do I use this variable in the xcopy command?
Here is the code I tried:
Dim WshShell, oExec, g, h
h = "D:\newfolder"
g = "xcopy $h D:\y\ /E"
Set WshShell = CreateObject("WS...
i want to copy multiple files at once through xcopy. is it possible. i mean something like:
xcopy file1+file2+file3 destinationfolder
any help is appreciated :)
...
I am using TFS2008 and within my TFSBuild.proj file I have a target that call xcopy to copy the build to the production website location for automation. However I am receiving the following error when running the build:
Task "Exec" Command: xcopy "\\test\TFSBuilds\Online System V2 Build to NETPUB_20100430.2\Debug\_PublishedWebsites\IPA...
I know how xcopy works, but is it possible to add comments to your exclude files? Something like this:
.pdb
.xml
.config
Some.dll /* excluded because ... */
...
I've coded a C# executable that uses xcopy (cmd.exe /Q /D /C xcopy "C:\_Depot\Tools\CAD\2009" "C:\Apps\CAD 2009" /E /K /R /Y) to duplicate some files.
If I run the .exe by double-clicking it, the xcopy operation works every time.
If I run the .exe by double-clicking a shortcut to the .exe, the xcopy works only if the shortcut is in the...
Forgive me if this is nor the place to ask these questions, I am new to batch and scripts and a bit new to these kind of posts...
I have a folder that will receive files and folders, I want to run a script that looks at the directory and renames all files in each subfolder numerically, and moves them if possible.
For example I have s...
Here is what i have for now:
xcopy "c:\projects\SampleProject" "c:\temp\copytest" /E /H /EXCLUDE:elist.txt
It does all the job i need except filtering filenames by extensions.
For example: copy all *.exe files from c:\temp\copytest and subdirectories.
How to do that?
...
This seems pretty simple and maybe I'm just overlooking the proper flag, but how would I, in one command, copy a file from one directory to another and rename it in the destination directory? Here's my command:
if exist "bin\development\whee.config.example"
if not exist "TestConnectionExternal\bin\Debug\whee.config"
xcopy "bin\de...
As a part of an automated script, I am trying to do achieve something like this in windows command prompt:
xcopy /I /Y resources\xyz\pqrs.txt %TEMP%\resources\xyz\pqrs.txt.bak
In %TEMP%, there is no resources directory.
This is the interactive output, that I get:
Does C:\Users\username\AppData\Local\Temp\resources\xyz\pqrs.txt.bak ...