How to create a semi automatic copy command
We have customer folders in major folders (one every year) 2017-2018-2019 etc.
Each case that is created first gets a serial number followed by the customer's name and case type:
19100 John Doe - new garage
Our customer handling software itself creates an empty main folder and subfolder structure to every case.
We would like to have a set of commonly used files copied into some of these costumer folders. This cannot be done by the customer handling software so that it must be done manually or the smartest way possible.
Is it possible to create a command that is setup to copy files from a specified location and into a customer folder that is identified only by the serial number without including name and task type?
Example:
There are textures and pictures to be used in some cases.
They are located on s:texturesgeneral textures
They must be copied to
k:201919100 Jens Jensen - new garage3 picturestextures
Can a command be made so that I'm prompted for serial number ex. "19100" and then the files are automatically copied to the correct subfolder?
Again, only SOME costumers folders need the extra file copy, therefore I need to be prompted to identify the correct folder.
We are 20 people working in these folders, so I seek this advice to minimize copying files through Windows Explorer. Strange things happens when multiple users work together, så a desktop botton could be usefull.
In advance thank you.
windows xcopy
add a comment |
We have customer folders in major folders (one every year) 2017-2018-2019 etc.
Each case that is created first gets a serial number followed by the customer's name and case type:
19100 John Doe - new garage
Our customer handling software itself creates an empty main folder and subfolder structure to every case.
We would like to have a set of commonly used files copied into some of these costumer folders. This cannot be done by the customer handling software so that it must be done manually or the smartest way possible.
Is it possible to create a command that is setup to copy files from a specified location and into a customer folder that is identified only by the serial number without including name and task type?
Example:
There are textures and pictures to be used in some cases.
They are located on s:texturesgeneral textures
They must be copied to
k:201919100 Jens Jensen - new garage3 picturestextures
Can a command be made so that I'm prompted for serial number ex. "19100" and then the files are automatically copied to the correct subfolder?
Again, only SOME costumers folders need the extra file copy, therefore I need to be prompted to identify the correct folder.
We are 20 people working in these folders, so I seek this advice to minimize copying files through Windows Explorer. Strange things happens when multiple users work together, så a desktop botton could be usefull.
In advance thank you.
windows xcopy
This sort of thing can be achieved with a C program, as it sounds very much like a programmer challenge. Since you have a strict set of requirements, it should be straightforward to code your own or to get someone to make you a program as a one off. It can also be scripted using something like Python or Bash if you have those tools at your disposal.
– QuickishFM
Jan 31 at 9:00
do not forget powershell, it could be a powerful tools for your goal.
– AtomiX84
Jan 31 at 13:52
That's a typical scenario where batch files or PowerShell/J-/VB- scripts are made for. But Super User is not a script writing service - the initial research should be done by yourself.
– LotPings
Jan 31 at 13:53
add a comment |
We have customer folders in major folders (one every year) 2017-2018-2019 etc.
Each case that is created first gets a serial number followed by the customer's name and case type:
19100 John Doe - new garage
Our customer handling software itself creates an empty main folder and subfolder structure to every case.
We would like to have a set of commonly used files copied into some of these costumer folders. This cannot be done by the customer handling software so that it must be done manually or the smartest way possible.
Is it possible to create a command that is setup to copy files from a specified location and into a customer folder that is identified only by the serial number without including name and task type?
Example:
There are textures and pictures to be used in some cases.
They are located on s:texturesgeneral textures
They must be copied to
k:201919100 Jens Jensen - new garage3 picturestextures
Can a command be made so that I'm prompted for serial number ex. "19100" and then the files are automatically copied to the correct subfolder?
Again, only SOME costumers folders need the extra file copy, therefore I need to be prompted to identify the correct folder.
We are 20 people working in these folders, so I seek this advice to minimize copying files through Windows Explorer. Strange things happens when multiple users work together, så a desktop botton could be usefull.
In advance thank you.
windows xcopy
We have customer folders in major folders (one every year) 2017-2018-2019 etc.
Each case that is created first gets a serial number followed by the customer's name and case type:
19100 John Doe - new garage
Our customer handling software itself creates an empty main folder and subfolder structure to every case.
We would like to have a set of commonly used files copied into some of these costumer folders. This cannot be done by the customer handling software so that it must be done manually or the smartest way possible.
Is it possible to create a command that is setup to copy files from a specified location and into a customer folder that is identified only by the serial number without including name and task type?
Example:
There are textures and pictures to be used in some cases.
They are located on s:texturesgeneral textures
They must be copied to
k:201919100 Jens Jensen - new garage3 picturestextures
Can a command be made so that I'm prompted for serial number ex. "19100" and then the files are automatically copied to the correct subfolder?
Again, only SOME costumers folders need the extra file copy, therefore I need to be prompted to identify the correct folder.
We are 20 people working in these folders, so I seek this advice to minimize copying files through Windows Explorer. Strange things happens when multiple users work together, så a desktop botton could be usefull.
In advance thank you.
windows xcopy
windows xcopy
edited Jan 31 at 13:47
LotPings
4,9961822
4,9961822
asked Jan 31 at 7:04
NielshmNielshm
41
41
This sort of thing can be achieved with a C program, as it sounds very much like a programmer challenge. Since you have a strict set of requirements, it should be straightforward to code your own or to get someone to make you a program as a one off. It can also be scripted using something like Python or Bash if you have those tools at your disposal.
– QuickishFM
Jan 31 at 9:00
do not forget powershell, it could be a powerful tools for your goal.
– AtomiX84
Jan 31 at 13:52
That's a typical scenario where batch files or PowerShell/J-/VB- scripts are made for. But Super User is not a script writing service - the initial research should be done by yourself.
– LotPings
Jan 31 at 13:53
add a comment |
This sort of thing can be achieved with a C program, as it sounds very much like a programmer challenge. Since you have a strict set of requirements, it should be straightforward to code your own or to get someone to make you a program as a one off. It can also be scripted using something like Python or Bash if you have those tools at your disposal.
– QuickishFM
Jan 31 at 9:00
do not forget powershell, it could be a powerful tools for your goal.
– AtomiX84
Jan 31 at 13:52
That's a typical scenario where batch files or PowerShell/J-/VB- scripts are made for. But Super User is not a script writing service - the initial research should be done by yourself.
– LotPings
Jan 31 at 13:53
This sort of thing can be achieved with a C program, as it sounds very much like a programmer challenge. Since you have a strict set of requirements, it should be straightforward to code your own or to get someone to make you a program as a one off. It can also be scripted using something like Python or Bash if you have those tools at your disposal.
– QuickishFM
Jan 31 at 9:00
This sort of thing can be achieved with a C program, as it sounds very much like a programmer challenge. Since you have a strict set of requirements, it should be straightforward to code your own or to get someone to make you a program as a one off. It can also be scripted using something like Python or Bash if you have those tools at your disposal.
– QuickishFM
Jan 31 at 9:00
do not forget powershell, it could be a powerful tools for your goal.
– AtomiX84
Jan 31 at 13:52
do not forget powershell, it could be a powerful tools for your goal.
– AtomiX84
Jan 31 at 13:52
That's a typical scenario where batch files or PowerShell/J-/VB- scripts are made for. But Super User is not a script writing service - the initial research should be done by yourself.
– LotPings
Jan 31 at 13:53
That's a typical scenario where batch files or PowerShell/J-/VB- scripts are made for. But Super User is not a script writing service - the initial research should be done by yourself.
– LotPings
Jan 31 at 13:53
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400407%2fhow-to-create-a-semi-automatic-copy-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400407%2fhow-to-create-a-semi-automatic-copy-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This sort of thing can be achieved with a C program, as it sounds very much like a programmer challenge. Since you have a strict set of requirements, it should be straightforward to code your own or to get someone to make you a program as a one off. It can also be scripted using something like Python or Bash if you have those tools at your disposal.
– QuickishFM
Jan 31 at 9:00
do not forget powershell, it could be a powerful tools for your goal.
– AtomiX84
Jan 31 at 13:52
That's a typical scenario where batch files or PowerShell/J-/VB- scripts are made for. But Super User is not a script writing service - the initial research should be done by yourself.
– LotPings
Jan 31 at 13:53