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

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


- kuchiyo

My System SpecsSystem Spec
09 Jun 2012   #2

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

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

Windows 7 Enterprise 64 Bit

it works!
My System SpecsSystem Spec

 Bat commands..

Thread Tools

Similar help and support threads
Thread Forum
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
Help Automatating CMD Commands
I need help making a CMD script that will... Open a certain directory clear the screen run a command and then it must stay open how would i do this?
General Discussion
Definitions of Commands
I often wondered what difference , if any , there is between the following commands: FORMAT WIPE DELETE with reference to hard drives.
General Discussion
.bat Help.. Is these commands safe?
I just got installed the Luna theme to windows.. But at a bat file it's trying to do that: ren %windir%\explorer.exe explorer.exe.bak move /y "Resources\x86\explorer.exe" %windir% taskkill /F /IM explorer.exe start %windir%\explorer.exe Is that safe to replace the explorer.exe with a...
Themes and Styles
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
Need help wih a .bat file commands
Im not sure if this is a grate place to ask this.. but... well Windows does speak DOS commands... well sorta :D anyway, im trying to set up a batch file that would first transfer all the files and subfolders from "a" folder to "b" folder, and then would delete all the subfolders and files in "a"...

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 08:38.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App