Search found 5868 matches

by foxidrive
31 Aug 2016 14:16
Forum: DOS Batch Forum
Topic: The topic is to reach a value, in a batch file with only one setted variable
Replies: 26
Views: 20495

Re: The topic is to reach a value, in a batch file with only one setted variable

ledlightjungled, see m If you have not used google translate, then please write in your native langauge and use google translate to change your words to English. It may be easier for us to understand your task, because you have some language difficulty. German Wenn Sie nicht verwendet haben, Google ...
by foxidrive
31 Aug 2016 14:10
Forum: DOS Batch Forum
Topic: Need help writing a batch file for copying files
Replies: 13
Views: 9853

Re: Need help writing a batch file for copying files

The script works perfect and exactly what I needed. That's great, thanks for your feedback. I made a typo in your code that makes no difference to the operation but I had intended to clean up the screen output. In the code above I changed this " 2>nul " to this " >nul " and it j...
by foxidrive
31 Aug 2016 13:58
Forum: DOS Batch Forum
Topic: Create a small Dictionary [ A B C ]
Replies: 6
Views: 5509

Re: Create a small Dictionary [ A B C ]

It's nice of you to ackowledge aacini - but you supplied no extra information here. I'm only pointing this out for you to consider a situation where it was you that was helping people with a programming task and they only showed you this kind of non-information. Tanks Acini; a b c aa ab ac ba bb bc ...
by foxidrive
30 Aug 2016 05:49
Forum: DOS Batch Forum
Topic: Need help writing a batch file for copying files
Replies: 13
Views: 9853

Re: Need help writing a batch file for copying files

Are you suggesting copying the files into a storage folder, so I have 2 copies, and then using the move script that was written? The asnwer is Yes. I didn't follow your meaning at that time. But because you are only doing a batch of files you can use this. @echo off set "source=C:\testC" ...
by foxidrive
29 Aug 2016 07:58
Forum: DOS Batch Forum
Topic: Combine certain checks before executing
Replies: 9
Views: 7066

Re: Combine certain checks before executing

This thread has been locked. SIMMS7400, you can approach a moderator and provide information about your task. They will reopen your thread if they think you have given enough information, but adding in huge blocks of code without discussing the aim of the task and also the problem is not good inform...
by foxidrive
29 Aug 2016 07:55
Forum: DOS Batch Forum
Topic: Combine certain checks before executing
Replies: 9
Views: 7066

Re: Combine certain checks before executing

I'll be clear here and say that after more than 20 years of providing free computer support, I no longer read huge wads of code that come with a poor description or no description. You have little awareness of the pitfalls in providing free programming support, and very often it's code that doesn't ...
by foxidrive
29 Aug 2016 07:40
Forum: DOS Batch Forum
Topic: Combine certain checks before executing
Replies: 9
Views: 7066

Re: Combine certain checks before executing

Fox - Yes - which is why I'm confused. No you didn't understand. You ignored it completely without asking for clarification of any point that you didn't understand. You're being obtuse and have a very poor grasp of programming. You shove a wad of code in a post and say nothing about it, expecting p...
by foxidrive
29 Aug 2016 07:21
Forum: DOS Batch Forum
Topic: Combine certain checks before executing
Replies: 9
Views: 7066

Re: Combine certain checks before executing

HI Fox - I think I speak English Do my posts need more clarity? Did you understand any of the words I wrote after "English?" Programming code is not English. Using a phase "checks in there that will spool to a text file" has no meaning without context about the actual process. P...
by foxidrive
29 Aug 2016 07:12
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 151027

Re: Creating a script to gather PC information - to assist those asking for help

Regardless of reasons why it shouldn't be, I know of many people who remove it or simply move it, and there are many sites explaining how to do so. You're right Compo, as I ran without a page file for years. I would comment though that a person who has disabled or moved their page file is likely to...
by foxidrive
29 Aug 2016 06:07
Forum: DOS Batch Forum
Topic: Combine certain checks before executing
Replies: 9
Views: 7066

Re: Combine certain checks before executing

Using English to describe what you are doing, and giving small examples in code along with it, is a better way to illustrate your problem and target that exact issue. If you have more aspects to describe then add them too, in targeted descriptions. Readers can then go further and read a large sectio...
by foxidrive
28 Aug 2016 02:58
Forum: DOS Batch Forum
Topic: Search computers drives for a Folder Name and make the folders location a var for manipulation
Replies: 2
Views: 3281

Re: Search computers drives for a Folder Name and make the folders location a var for manipulation

@echo off set "folder=" for %%a in (c e f) do if not defined folder ( pushd "%%a:\" for /d /r %%b in (Visuals2579211?) do set "folder=%%b" popd ) Welcome to dostips. The code above sets a variable called folder to the location of the folder. The way you use the variabl...
by foxidrive
28 Aug 2016 02:33
Forum: DOS Batch Forum
Topic: Need help writing a batch file for copying files
Replies: 13
Views: 9853

Re: Need help writing a batch file for copying files

As for option 1, Are you suggesting copying the files into a storage folder, so I have 2 copies, and then using the move script that was written? No. You have your files in C:\testC at present. The script can create a folder in C:\testC\storage and then copy them as needed but move the original fil...
by foxidrive
26 Aug 2016 18:47
Forum: DOS Batch Forum
Topic: Need help writing a batch file for copying files
Replies: 13
Views: 9853

Re: Need help writing a batch file for copying files

To be fair on my part, in my original post, it did say copy and not move. I stated this several times. My mistake was having the move function in my original code to begin with. That is exactly how I made my mistake. I read your question and had taken in the main aspects of your task. I then quoted...
by foxidrive
26 Aug 2016 15:03
Forum: DOS Batch Forum
Topic: Need help writing a batch file for copying files
Replies: 13
Views: 9853

Re: Need help writing a batch file for copying files

Perfect! Thank you. Is this possible to do with copy instead of move? I changed the move to copy and after the destination file disappears it selects the same file it did before. Yes, it does this because the code looks for the oldest file in the folder. When using copy the file hasn't been shifted...
by foxidrive
26 Aug 2016 09:58
Forum: DOS Batch Forum
Topic: How to rename files like 00080.jpg to 01080.jpg?
Replies: 11
Views: 9263

Re: How to rename files like 00080.jpg to 01080.jpg?

I have explained it: I need to change one digit from 0 to 1. That is the change. And I said files not one file. It is clear from the example: 0 0 080.jpg changed to 0 1 080.jpg It's not clear at all because you could have filename clashes during your renaming and you don't have the knowledge to rea...