Results 1 to 10 of 10

Thread: Hide .bat file???

  1. #1
    Senior Member crazyfool's Avatar
    Join Date
    Jan 2008
    Posts
    761
    Thanks
    77
    Thanked
    38 times in 38 posts
    • crazyfool's system
      • Motherboard:
      • Striker Extreme
      • CPU:
      • Q6600
      • Memory:
      • OCZ 6400 2 x 2GB
      • Storage:
      • Samsung Spinpoint 500GB
      • Graphics card(s):
      • BFG 8800 GT OC 512MB
      • PSU:
      • Coolermaster Real Power Pro 850w
      • Case:
      • Coolermaster CM-690
      • Operating System:
      • XP, Vista, Windows 7 & Ubuntu
      • Monitor(s):
      • Samsung 2232BW

    Hide .bat file???

    ok i've had to write a few batch files to get certain things working properly on my htpc but the problem is that when i run them the cmd box stays on the screen until its finished which is annoying... i also tried converting to an exe file and making it a ghost application but all that seems to do is make the cmd box either flash on the screen or stay there but just be blank...anyone know how to make it so you cant see the .bat file running?

  2. #2
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Hide .bat file???

    create a short cut to the batch file, on that shortcut right click and go to properties. In properties there should be a drop down box to select how its run

    eg Run: Minimized.

    you will then need to setup your system to run the batch from that short cut.
    Last edited by Jay; 17-10-2008 at 04:06 PM.
    □ΞVΞ□

  3. #3
    Senior Member crazyfool's Avatar
    Join Date
    Jan 2008
    Posts
    761
    Thanks
    77
    Thanked
    38 times in 38 posts
    • crazyfool's system
      • Motherboard:
      • Striker Extreme
      • CPU:
      • Q6600
      • Memory:
      • OCZ 6400 2 x 2GB
      • Storage:
      • Samsung Spinpoint 500GB
      • Graphics card(s):
      • BFG 8800 GT OC 512MB
      • PSU:
      • Coolermaster Real Power Pro 850w
      • Case:
      • Coolermaster CM-690
      • Operating System:
      • XP, Vista, Windows 7 & Ubuntu
      • Monitor(s):
      • Samsung 2232BW

    Re: Hide .bat file???

    thanks i'll give it a go

  4. #4
    NOT Banned
    Join Date
    Jan 2007
    Posts
    5,905
    Thanks
    412
    Thanked
    278 times in 253 posts

    Re: Hide .bat file???

    if you still can't get it hidden I've just made a teeny prog to run files hidden.

    Here's the download link

    Let me know if it works. I haven't put features such as custom working dir or custom parameters to run programs as but if you'd want that let me know. All you need to do is pass the filename as the first parameter and remember to put it in quotes " " if it contains a space ie. C:\Program Files should be "C:\Program Files" otherwise the program will just see "C:\Program"

    Hope it helps gets your HTPC to how you want it.

  5. Received thanks from:

    crazyfool (17-10-2008)

  6. #5
    Senior Member crazyfool's Avatar
    Join Date
    Jan 2008
    Posts
    761
    Thanks
    77
    Thanked
    38 times in 38 posts
    • crazyfool's system
      • Motherboard:
      • Striker Extreme
      • CPU:
      • Q6600
      • Memory:
      • OCZ 6400 2 x 2GB
      • Storage:
      • Samsung Spinpoint 500GB
      • Graphics card(s):
      • BFG 8800 GT OC 512MB
      • PSU:
      • Coolermaster Real Power Pro 850w
      • Case:
      • Coolermaster CM-690
      • Operating System:
      • XP, Vista, Windows 7 & Ubuntu
      • Monitor(s):
      • Samsung 2232BW

    Re: Hide .bat file???

    cheerz m8 but it says it is password protected and it wont lemme download :S
    I wouldn't mind giving it ago tho... but once i get this working does anyone know of a program that can run a file before standby and then once it resumes... atm i'm using hibernation trigger which works great but i have to enter the file locations after each restart

  7. #6
    NOT Banned
    Join Date
    Jan 2007
    Posts
    5,905
    Thanks
    412
    Thanked
    278 times in 253 posts

    Re: Hide .bat file???

    wow, I must have messed it up. I'll reup one again one minute.
    It's done, it's the same link. I think I accidently clicked the password link when I was editing the description. I tested it quickly with a .bat file which renames a filename to filename2 etc and it worked all hidden.

    Only function it uses is ShellExecute_() if that makes any sense to you, it doesn't contain any commands that will modify anything just to run a file and thats what that function is. Just in case you doubt my intentions, feel free to scan it too.

  8. #7
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    300
    Thanked
    633 times in 422 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Hide .bat file???

    Were you able to programme that keylogger moogle? Some of my Nigerian friends are interested in entering into a business agreement with ya

  9. #8
    Senior Member crazyfool's Avatar
    Join Date
    Jan 2008
    Posts
    761
    Thanks
    77
    Thanked
    38 times in 38 posts
    • crazyfool's system
      • Motherboard:
      • Striker Extreme
      • CPU:
      • Q6600
      • Memory:
      • OCZ 6400 2 x 2GB
      • Storage:
      • Samsung Spinpoint 500GB
      • Graphics card(s):
      • BFG 8800 GT OC 512MB
      • PSU:
      • Coolermaster Real Power Pro 850w
      • Case:
      • Coolermaster CM-690
      • Operating System:
      • XP, Vista, Windows 7 & Ubuntu
      • Monitor(s):
      • Samsung 2232BW

    Re: Hide .bat file???

    cheerz moogle it work nicely... now just to get it to run before and after standby...anyone...

  10. #9
    NOT Banned
    Join Date
    Jan 2007
    Posts
    5,905
    Thanks
    412
    Thanked
    278 times in 253 posts

    Re: Hide .bat file???

    Quote Originally Posted by SiM View Post
    Were you able to programme that keylogger moogle? Some of my Nigerian friends are interested in entering into a business agreement with ya


    You're gonna scare crazyfool SiM

    Quote Originally Posted by crazyfool View Post
    cheerz moogle it work nicely... now just to get it to run before and after standby...anyone...
    You mean before your HTPC goes in standby and when it wakes up?

  11. #10
    Senior Member crazyfool's Avatar
    Join Date
    Jan 2008
    Posts
    761
    Thanks
    77
    Thanked
    38 times in 38 posts
    • crazyfool's system
      • Motherboard:
      • Striker Extreme
      • CPU:
      • Q6600
      • Memory:
      • OCZ 6400 2 x 2GB
      • Storage:
      • Samsung Spinpoint 500GB
      • Graphics card(s):
      • BFG 8800 GT OC 512MB
      • PSU:
      • Coolermaster Real Power Pro 850w
      • Case:
      • Coolermaster CM-690
      • Operating System:
      • XP, Vista, Windows 7 & Ubuntu
      • Monitor(s):
      • Samsung 2232BW

    Re: Hide .bat file???

    yeh lol

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. nero recode compiling volume failed
    By hvb in forum Welcome to HEXUS!
    Replies: 1
    Last Post: 02-09-2007, 10:14 AM
  2. Need help on my maxtor harddrives
    By arthurleung in forum PC Hardware and Components
    Replies: 10
    Last Post: 12-06-2007, 09:40 PM
  3. Multiple problems - help!
    By Ruggerbugger in forum Help! Quick Relief From Tech Headaches
    Replies: 7
    Last Post: 18-08-2006, 11:41 PM
  4. Nero vision express saying:'Burn process failed'
    By johnnr892 in forum Help! Quick Relief From Tech Headaches
    Replies: 15
    Last Post: 11-12-2005, 11:43 PM
  5. Dodgy DVD-r's ?
    By starside in forum Help! Quick Relief From Tech Headaches
    Replies: 12
    Last Post: 27-03-2005, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •