Jump to content

getting a batch file to find and run more files SOLVED


Recommended Posts

Posted

so basically I'm working on a project right now and I thought someone here might be able to help.  Basically I'm trying to get a batch file to find and recognize other files and then run them.  What I tried to do was

@echo off

dir /s /b . Plugin*. bat  . HC4list. txt

hideconsole. exe . HC4list. bat

PING 127. 0. 0. 1 -n 1

del . HC4list. bat

and i thought it worked but then I tried it again today and it gave me an error that "The system could not find the file specified".  Help anyone? I'm running windows XP under a limited account.  I googled for a while but haven't found anything good.

Edit: figured it out ^_^.

@echo off

dir /s /b .Pluginstart.bat > .list.bat

.hideconsole.exe .list.bat

Posted

This question seems strangely familiar :P

Shouldn't the second line be (unless you have a seperate file ".HC4list.bat")

dir /s /b .Plugin*.bat > .HC4list.bat

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...