Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Bat commands..

09 Jun 2012   #1
kuchiyo

Windows 7 Enterprise 64 Bit
 
 
Bat commands..

Okay im trying to make a mini-fool for my friend

And i want to my friend donot see the bat file

Is this the code to he cant see it?
attrib +h %0

Thanks.

- kuchiyo


My System SpecsSystem Spec
.
09 Jun 2012   #2
mine247

Windows 7 Ultimate x64
 
 

Hi, you can try this
attrib +h "location\filename.bat"
(location&filename need to be filled in by yourself.)

File and Folder - Hide or Unhide
My System SpecsSystem Spec
09 Jun 2012   #3
kuchiyo

Windows 7 Enterprise 64 Bit
 
 

Okay. I'll try it on a virtual pc to see does it delete anything...
My System SpecsSystem Spec
.

09 Jun 2012   #4
kuchiyo

Windows 7 Enterprise 64 Bit
 
 

it works!
My System SpecsSystem Spec
Reply

 Bat commands..




Thread Tools




Similar help and support threads
Thread Forum
Are commands followed?
I have two files LXDUwbgw.exe, and lxduwbgw.exe. in two different folders. For brevity, LXDU is in Folder A and lxdu is in folder B. IF, a program goes to Folder A and asks for lxdu will it take LXDU or nothing? Thanks Sic
General Discussion
How to do global commands
I recently installed a screesaver that, after 15 minutes of inactivity, The screensaver displays a warning and 60 seconds later issues a log off command. Have seven standard user accounts and had to install the screensaver in each of them. Can I do this globally so that I only have to do it once. ...
General Discussion
Shortcut with 2 commands
Is it possible to run more than one batch file command in a shortcut? I have tried a couple of thins and they did not work. Example: cmd /c start program cmd /c start another program
General Discussion
Windows Run Commands
I certainly hope someone here can help me. It used to be that the commands I typed in the RUN window where there when I returned. Not so now, the window's completely blank, and I have to retype where I want to go or open every time. :cry: What must I do to make the programs hold? Duchess
General Discussion
Run commands remembered ?
Is there any way to get the Run box to remember commands ? For instance msconfig, regedit. Each time the Run command box is opened all previous entries are gone and it's blank. Small thing maybe, but when I'm constantly fiddling it saves typing.:rolleyes:
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 17:07.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App