Search found 15 matches

by peonowns
04 Jun 2014 05:36
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Think i missed off the %%a will re-edit and test.
by peonowns
04 Jun 2014 04:26
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Great thanks for that One problem i am now finding is that the folders are moved to the correct location, but they are not in the parent folder, it seems to "skipped" or deleted. I edited the locations back to a test location to try and fix but i can't seem to isolate why it is skipping / ...
by peonowns
13 May 2014 08:02
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Ah it is because i was not entering GO i entered go.

When typing go it closes the window without running.
by peonowns
13 May 2014 07:56
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

When I use your provided example it shuts the cmd window is there a way to keep it open?

I thought it was echo off
by peonowns
13 May 2014 07:41
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

I have added a way to try and stop accidental usage not sure if it is the best way. I suppose a better way would be with commands for user input? @echo off echo You're about to run the Archive and create batchfile! pause echo Please check to make sure no one is using the archive folder! pause pushd ...
by peonowns
13 May 2014 05:37
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Seems to be working in all tests I have done! Just going to double check a lot of the folders to ensure everything is transferred and intact, then i will make a quick backup just encase and do a final test on the live environment to ensure it still works when the paths are across the network rather ...
by peonowns
13 May 2014 05:04
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Can only say thanks again,
When I tried to do it myself it put all 3 folders into the sub folder with 100 101 etc but looking at how you have coded it i can see where i went wrong ! :!: :D
Will let you know how i get on.
by peonowns
13 May 2014 01:50
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Thanks for the explanation! One more question if that's ok! How hard would it be to create 3 folders inside all of the individual jobs? The folders will always be named the same e.g 100-149 > 100 > cads production purchasing 101 > cads production purchasing 102 > cads production purchasing
by peonowns
08 May 2014 08:36
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Tested it with the same enviorement as before (no extra folders in the location) And it appears to have worked! With the new way you have coded the example what are the requirements for copy currently as i am struggling to understand some parts of the code . e.g the below || goto :EOF for /f "s...
by peonowns
08 May 2014 04:52
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Running the edit you submitted will let you know the results :)
by peonowns
08 May 2014 04:46
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Hey, I think the problem I'm facing is that the jobs folders are accessed after they have been stored for example. We do a job for a builder but due to bad weather the job is put on hold, 2 months later the job is back on but he wants an adjustment / remake in which case the drawing is edited and sa...
by peonowns
07 May 2014 09:08
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Re: New to making batch files some help would be awesome. The skip=10 is how many newest folders to leave, and it will move the rest. The section after the first pause statement creates one set of folders, following in sequence from the latest folder. Code: @echo off pushd "\\server\documents\...
by peonowns
07 May 2014 07:40
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Thank-you both very much for taking the time to help me. Sorry for the delayed reply I was away camping! Just post, what is confusing you, and i may help. The code because my level of understanding is very basic. Thanks for commenting lines it is appreciated I will look into both of your responses a...
by peonowns
29 Apr 2014 07:48
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

Re: New to making batch files some help would be awesome.

Hi thanks for the reply. I woul be lieing if i did not say your post confused me a little . Inside "\\server\documents\paperport\jobs\jobs\" there are upwards of 10 folders Currently inside the jobs folder are the following folders and inside each of those are 50 seperate job folders withi...
by peonowns
29 Apr 2014 03:59
Forum: DOS Batch Forum
Topic: New to making batch files some help would be awesome.
Replies: 24
Views: 11064

New to making batch files some help would be awesome.

Hi all, I'm new here and have been trying to learn how to make batch files for work and home use. Been reading / watching videos but would like your help if possible to achieve something my current level of ability cannot. Scenario : I have a server sbs 2008 with a mapped drive *documents* inside th...