Search found 139 matches

by batchcc
20 Aug 2020 19:38
Forum: DOS Batch Forum
Topic: Creating Shortcuts using a For Loop
Replies: 3
Views: 6022

Re: Creating Shortcuts using a For Loop

Thank you Squashman!
by batchcc
17 Aug 2020 17:04
Forum: DOS Batch Forum
Topic: Creating Shortcuts using a For Loop
Replies: 3
Views: 6022

Creating Shortcuts using a For Loop

I have a directory R:\Archived Folders\ which contains several thousand sub folders. I have another folder H:\WORK\ which has the many sub folders that have the same name as those in the archive. I would like to create a link to each archive folder in each corresponding sub folder in work. I have tr...
by batchcc
03 Dec 2017 17:06
Forum: DOS Batch Forum
Topic: Deleting files named "._*"
Replies: 5
Views: 6558

Re: Deleting files named "._*"

Thanks aGerman this works great!
by batchcc
02 Dec 2017 09:56
Forum: DOS Batch Forum
Topic: Deleting files named "._*"
Replies: 5
Views: 6558

Re: Deleting files named "._*"

Since you're already trying to count the files you can also use the loop to delete them. for /f "delims=" %%i in ('dir /b /a-d /s ^| findstr /rec:"\\\._[^\\]*"') do (del /f "%%~i" &&set /a "count+=1") Steffen The code is giving me this error and not deleting anything Could Not Find H:\testing\._ran...
by batchcc
01 Dec 2017 14:08
Forum: DOS Batch Forum
Topic: Deleting files named "._*"
Replies: 5
Views: 6558

Deleting files named "._*"

Hello everyone! I am trying to delete all files in a certain directory and its sub-directories that has the name "._*" but this is the code I have but it is giving me an error. @echo off setlocal set count=0 set pattern=._* for /f %%i in ('dir /b /a-d %pattern% ^| find /c /v ""') do @call set count=...
by batchcc
13 Apr 2017 15:49
Forum: DOS Batch Forum
Topic: "Login not secure"
Replies: 0
Views: 7414

"Login not secure"

Hello everyone, this post has nothing to do with batch coding, but it deals with the forum. When I logged in (using Google chrome) Google alerted me that the login was not secure because the site isnt https:// and gave a link to this page https://support.google.com/chrome/answer/95617 . Obviously do...
by batchcc
09 Apr 2017 14:46
Forum: DOS Batch Forum
Topic: Find and accent a vowel
Replies: 2
Views: 4730

Re: Find and accent a vowel

Thanks aGerman, I cant wait to try it!
by batchcc
09 Apr 2017 05:52
Forum: DOS Batch Forum
Topic: Find and accent a vowel
Replies: 2
Views: 4730

Find and accent a vowel

I have looked around and found multiple ways to replace a letter for example: http://stackoverflow.com/questions/13469939/replacing-characters-in-string ; however, I need to replace the third vowel (aeiou not y) in a word with its accented form (áéíóú). For example Example > examplé Fashion > fashió...
by batchcc
05 Feb 2017 12:51
Forum: DOS Batch Forum
Topic: Get all Wmic information quickly
Replies: 4
Views: 7381

Re: Get all Wmic information quickly

Thanks aGerman this worked for me!
by batchcc
03 Feb 2017 16:46
Forum: DOS Batch Forum
Topic: Get all Wmic information quickly
Replies: 4
Views: 7381

Re: Get all Wmic information quickly

Thanks. Im not sure if this works because I get an error but ill try it on another computer as soon as I can
by batchcc
31 Jan 2017 13:01
Forum: DOS Batch Forum
Topic: Get all Wmic information quickly
Replies: 4
Views: 7381

Get all Wmic information quickly

I am trying to get all the system information from Wmic but im not sure of how to get all the information without typing in lots and lots of wmic commands is there a fast way to get all the wmic information?

Thanks ~Batchcc
by batchcc
13 Dec 2016 17:02
Forum: DOS Batch Forum
Topic: Running batch files on Macbook
Replies: 8
Views: 10900

Re: Running batch files on Macbook

Squashman wrote:Certainly not going to hurt you to learn BASH.

I would prefer not to have to convert the many scripts I've collected and coded but if you could tell me about good online resources to learn it I would appreciate it :D
by batchcc
13 Dec 2016 14:39
Forum: DOS Batch Forum
Topic: Running batch files on Macbook
Replies: 8
Views: 10900

Re: Running batch files on Macbook

Would dosbox work as well?
by batchcc
13 Dec 2016 14:37
Forum: DOS Batch Forum
Topic: Running batch files on Macbook
Replies: 8
Views: 10900

Re: Running batch files on Macbook

Squashman wrote:Looks like it is possible with wine.
But what are you going to do when your batch file has an external cmd that it runs that is not provided by CMD.EXE?

I'm not sure Ill continue looking for multiple solutions but Thank you Squashman this is very helpful. Any suggestions are apreciated.
by batchcc
13 Dec 2016 14:25
Forum: DOS Batch Forum
Topic: Running batch files on Macbook
Replies: 8
Views: 10900

Running batch files on Macbook

Over the past few years I've accumulated a decent amount of batch files however as of this week my place of business is getting rid of all their windows laptops and replacing them with Macbooks. Are there any programs I can use that will allow me to run batch files on the computers. I would also pre...