Help with a .bat file

Eastonator12

Well-Known Member
OP
Member
Joined
Aug 16, 2016
Messages
630
Trophies
0
Age
23
XP
999
Country
United States
Hello there, I am trying to make a .bat file to prank my friend. I want the batch file to open cmd and execute a command, but everything i'm trying doesn't work. I want it to run the command: shutdown -s -t 1925000 -c “System error: overloaded porn folder”. Thanks
 

Slattz

Easygoing Fairy
Member
Joined
Nov 21, 2015
Messages
1,259
Trophies
1
XP
1,787
Country
Ireland
Also, you set the time to 1925000 seconds, you might want to edit the bat and change it to around 3 or something.
 

Eastonator12

Well-Known Member
OP
Member
Joined
Aug 16, 2016
Messages
630
Trophies
0
Age
23
XP
999
Country
United States
Also, you set the time to 1925000 seconds, you might want to edit the bat and change it to around 3 or something.
I did that because I didn't want to actually shut off his computer or anything like that, so it would give me enough time to cancel it. BTW, the .bat you gave me just opens cmd and sits on a blinking underscore in the top corner with no text...nothing happens
 

Slattz

Easygoing Fairy
Member
Joined
Nov 21, 2015
Messages
1,259
Trophies
1
XP
1,787
Country
Ireland
I did that because I didn't want to actually shut off his computer or anything like that, so it would give me enough time to cancel it. BTW, the .bat you gave me just opens cmd and sits on a blinking underscore in the top corner with no text...nothing happens
Yea, I just tested, it seems the command can only be run from cmd (on W10 anyway), which is kinda odd.
If you want, I could write a vbs script that opens cmd and autotypes the command and executes it?
 

Eastonator12

Well-Known Member
OP
Member
Joined
Aug 16, 2016
Messages
630
Trophies
0
Age
23
XP
999
Country
United States
Yea, I just tested, it seems the command can only be run from cmd (on W10 anyway), which is kinda odd.
If you want, I could write a vbs script that opens cmd and autotypes the command and executes it?
that would be greatly appreciated, thank you
 

Slattz

Easygoing Fairy
Member
Joined
Nov 21, 2015
Messages
1,259
Trophies
1
XP
1,787
Country
Ireland
@Eastonator12 Heres a vbs script, it hides the cmd window (even though it only runs for a few milliseconds :P ).
I set the time to 5 seconds so the person has a chance to read the shutdown message lol.
Enjoy!

--------------------- MERGED ---------------------------

Here you go, details above :)
 

Attachments

  • Auto-Shutdown.zip
    307 bytes · Views: 161
Last edited by Slattz,

Eastonator12

Well-Known Member
OP
Member
Joined
Aug 16, 2016
Messages
630
Trophies
0
Age
23
XP
999
Country
United States
@Eastonator12 Heres a vbs script, it hides the cmd window (even though it only runs for a few milliseconds :P ).
I set the time to 5 seconds so the person has a chance to read the shutdown message lol.
Enjoy!

--------------------- MERGED ---------------------------

Here you go, details above :)
Thank you for this, is there any way I can change the icon to a folder icon?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    By your powers combined, hmmm where is Epstein?
  • K3Nv2 @ K3Nv2:
    Just another shit fps clone
  • K3Nv2 @ K3Nv2:
    Thought it was some warzone dlc bs
  • Psionic Roshambo @ Psionic Roshambo:
    Looks like an enhanced Far cry 1
  • K3Nv2 @ K3Nv2:
    That's a far cry from it
  • BigOnYa @ BigOnYa:
    Is it a free to play bs, pay to get any good weapon/gear
  • K3Nv2 @ K3Nv2:
    Not free to play but $35
  • K3Nv2 @ K3Nv2:
    Inb4 kiiwii gives it a 0/10
  • BigOnYa @ BigOnYa:
    6/10 rating on steam
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
  • BigOnYa @ BigOnYa:
    He ruined it basically. Sad cause it was a decent old bike. It would take more money to rewire the bike than it was worth tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
    Psionic Roshambo @ Psionic Roshambo: Yikes