How do you send e-mails through Command or Command Prompt?

Hello Instructablers... I need to know if anyone knows how to send emails through Command or Command Prompt. If you do, please leave an Instructable or how to do it below. I saw this on YouTube somewhere but I can't find it now. Please leave an answer if you know how.

Asked by account3r2 7 years ago

Cmd Shutdown -i help

Hello Okay i run Cmd as Administrator and i got the correct ip adress that i wont to shutdown. When i try it in the Shutdown-i program stop working and it will not work

Posted by Kokosmel 8 months ago

how do i type a path in the cmd(command prompt) to my files that are in a usb (d) drive.

Well i have a file that i want to manipulate using the cmd promt and i cant find the proper term to use to refer to my usb (d) drive to tell the cmd to go to my usb (d). i know how to go to my hard (c) drive but i cant for some reason get to my usb (d) using the cmd.

Asked by dedric444 6 years ago

bat to .app?

Im making a text based cmd game and i know how to change a .bat to exe, but i was wondering if theres a way to change it to like a .app or .dmg mac extension executable?

Asked by royalroachemail 6 months ago

Save feature??

Is there a way to make a save feature in batch?

Asked by royalroachemail 7 months ago

Able to color text?

For example your using a computer in the batch game and it prints out something normally the text is black, but is there a way for the computers msg to be yellow

Asked by royalroachemail 7 months ago


I have figured out how to make an inbox setup, I just need help. I am not asking for someone to give me the whole answer, but rather help me figure out what the problem is. This isn't the program itself (obviously), just a section Please take a look:if %command% EQU 5 (chdir C:\chdir Documents and Settingschdir All Userschdir Desktopchdir %global.username%IF EXIST Mail.txt (type %global.username%echo You have mail!pause > nulset command=goto AccountPanel) ELSE (echo No new messages.pause > nulset command=goto AccountPanel)For some reason, I can only get it to say "You have no new messages" or "You have mail!" rather than the right one for the situation. Now, It keeps appearing and disapearing in a window whenever I select the number five. All users have the same exact Account Panel, so %global.username% just represents the user that is currently logged on using set globals. I am kindly asking for help, not for someone to do it for me. I know that batch isn't a real scripting language, but it is fun to work with, just... confusing. I am sure I have all of the directories correct. Please help!

Posted by DELETED_DELETED_DarthVader 8 years ago

How to make a custom CMD window have custom commands (or commands at all) Answered

Hey guys, I made a simple cmd program: @echo off color 0a title %CD% echo DBAC(R) Windows DOS echo (C)Copyright DBAC 2009+ echo. :CMD set /p cmd=%CD%^> %cmd% goto CMD I just have a question: How do I give it commands? Where do I tell it where to find them? If anybody knows, comment please! Thank you! EDIT: Resolved. @echo off color 0a title %CD% echo DBAC(R) Windows DOS echo (C)Copyright DBAC 2009+ echo. :CMD set cmd= set /p cmd=%CD%^> if not defined cmd goto CMD call "%CD%"\Commands\%cmd% echo %cmd%>"%CD%\Commands_Log\%cmd% goto CMD

Asked by TheBatchies 8 years ago

How to calculate the percentage using cmd? to calculate the percentage of two numbers using cmd?

Posted by Subhasis Biswas 4 years ago

how can i get the cursor position using cmd?

How can i get the cursor position using cmd?

Asked by Fox-san48 8 years ago

Is there a way to create a messaging system using cmd, but also hide who it came from?

In a school system, everything is monitored. but if there was a way to mask the user, it would be like texting in school. but without the mask, the administrators will know exactly who and where it was from. any ideas?

Asked by mdan 8 years ago

CMD Batch Can Anyone Help? Answered

Hey guys i was just wondering how do i make the image start AFTER the last message?my batch is down there@echo offmsg * hellomsg * whomsg * aremsg * youmsg * immsg * themsg * hackermsg * youvemsg * beenmsg * verymsg * badmsg * somsg * immsg * goingmsg * tomsg * teachmsg * youmsg * amsg * lesson!start

Asked by Micksta 8 years ago

What Happened?

I was fascinated by batch programs at the time. It was about 2 months ago. I was copying the code for ScrewTheLotOfYou's Whack-a-Mole file when something I can't explain happened. After I saved the program as Whack.bat, I opened it up and... It was a Notepad program made with cmd type format. It even had a pointer that followed your mouse around! It was a small rectangle that was the opposite color as the thing you were highlighting. You could Open/Save programs and everything! I checked the code for it, but it was the code for Whack-a-Mole. I was mad a first because I couldn;t play the game, and didn't think much of it. Now, the game works perfectly and I'm mad because I can't get back to the Notepad program!

Posted by DELETED_DELETED_DarthVader 8 years ago

is it possible to make a .bat file so when you open it it displays a message like hello?

Please help i want it so when you open the file it says hello in the middle of the screen but i also want to know how to get the writing off aswell

Asked by sharlston 9 years ago

How to give your administrator account full administrative privileges?

I have a basic administrator account on my computer, but I can't access everything for some reason.. Even if I run as administrator. For example.. I can't use the remote shutdown tool because access is denied, then I try "Shutdown -i" the program comes up and all that, but it says that the program is not supported when I try to use it.. Please help.

Asked by Mossi 5 years ago

I want a cool, easy to edit batch program that has every thing in it, e.g: change user passwords, apps, ect.

Who can make me one? please hurry!! P.S it needs to be a batch program, not exe. P.S.S i will put your name in it!!!!

Asked by matrix828 9 years ago

can you give me cool cmd tricks? Answered

Give me cool cmd tricks and your email and I send you $50

Asked by 916253 8 years ago

cmd prompt timer command? Answered

The -t function (timer/countdown in seconds) for my cmd prompt is not working properly, is it just me, or is there something wrong? here is the command I was trying to use: shutdown -l -t 15 but when I hit enter, it logs off immediately.  Any suggestions?

Asked by dangerUXO 7 years ago

Batch Help(randomization)? Answered

Hello Im workin on a batch file and i would like to have help with with making Cmd randomize between two selected numbers Example: Random 1-10 Answer: 3

Asked by Chromatica 8 years ago

Batch pause command

I was just wondering if there was a way to customize the message in a batch file to say something other then "press any key to continue....." or hiding the message with ">nul" thanks Batchers Unite!!!

Posted by spiker 9 years ago

Once again, I need Batch Help

Is there a command that can count the times a code "plays/runs" and then do something with that number? such as....@ECHO OFF echo.Echo HiEcho. pause >nulEcho.:againstart Blah.txtgoto :againIf goto :again = 5 times goto :end :end echo.echo now its opened 5 timesecho.pauseNow if it went to again 5 times is there a way that i can send it another anchor in the script?

Posted by spiker 9 years ago

Does anyone know how to download the star wars batch file off telnet? Answered

Today I found out about the star wars batch file on telnet.  For those of you who don't know, search it on instructables.  I want to download it for school, but I don't know how.  Does anyone know how to get it?  There was a youtube video but my mom installed a filter that blocks bad sites (I am glad for that) but it also blocks youtube, facebook, etc.  Help!!!!

Asked by furrysalamander 7 years ago

batch to change .bat to cmd or .exe

I was just wondering how could i make a batch file to convert .bat to .cmd (or .exe if possible) i tryed wtih this but it didnt work @echo off ren %1 *.cmd im just a beginer atm, just learning from examples

Asked by Fox-san48 8 years ago

Obtaining Vista CMD Commands

In Vista command prompt, there are loads of commands that weren't there in XP, some of which are needed for a utility program I am writing. I run XP, and therefore am in search of a 'pack' of these added commands that I could download. Know of one?

Posted by puffyfluff 9 years ago

General Batch Discussion

The Official Batch Homies Discussion Forum

Posted by Chad Baxter 5 years ago

I need to make a batch file to run a designated zip program

I need a batch file to run a zip program, select files, then create a zipped product.

Asked by Dauntless 3 years ago

What is wrong in my batch file? Answered

@echo off title Camo echo what is the location of the folder that has the files (e.g C:\x) set /p file=C:\x echo what is the name of the file that you are trying to hide in set /p namefile=picture echo what is the name of the 7z file that you created (including format) set /p zip=File2.7z echo what will be the name of the new picture that will be created containing the files set /p namehider=newpicture echo what is the picture's format? set /p format=PNG cd %file% copy /b %namefile%.%format% + %zip% %namehider%.%format% I am attempting to automate a process that I do manually but can't seem to get the desired result. First i must have 7zip compress a couple files from a specific folder, which, I haven't attempted to write commands for yet (taking suggestions). Next the below is intended to run in CMD using the created zip file and a picture like so cd\ enter cd x enter copy /b Picture.png + x.7z NEWPICTURE.png The product should be deposited back into C:\X

Asked by Dauntless 3 years ago

how to do division and rounding within the string?

Hi all, I am new in scripting and I'm working with a tool which is exactly like windows cmd. My input text file is :     age=min;age_1D_param_min_64;meas_time = My batch file reads the lines from this input and splits the lines by “ ; ” then executes a function with the token and age file from the second field and after all parses the output for the third line. in the following you can see my current batch file:     setlocal EnableDelayedExpansion     for /f "tokens=1,2,3* delims=;" %%a in (input.txt) do ( REM create token file echo.%%a>current.tok     sinoparam -p D:\product\%%b 0x0100001F current.tok> out.txt     for /f %%y in ('findstr /C:"%%c" out.txt ^| sed "s/.*%%c .............. )do SET RESULT=%%y     echo.%%a;%%b;%%c;!RESULT!>>finaloutput.csv     )     GOTO :EOF now I have problem with one string in out.txt which is the result of executing my function:     meas_time =31.9999 in my batch file I want to do the followings: 1.find the value in string dActual_age =31.9999 by findstr/C 2. if the value is lower than 1000 round it and show the result 3. if it’s greater than 1000 first divide it by 32 and then round the result Does anyone know how I can do this ? thanks for any help! HOda

Asked by hodarahmati 1 year ago

Help me at "for" command (Batch/CMD)

Can anyone help me? I've got a problem with the "for" command. I can't include decimals (like 0,1). Here's the code: @echo off :Start cls echo. & echo. echo Let's play a game! It's called echo NUMBER! Type in any number echo between 1 and 10: set/p "choice=>" for /L %%G in (1,1,10) do if %choice%==%%G goto Add :Wrong echo. echo Choose a number between 1 and 10! ping localhost -n >nul 2 goto Start :Add if %choice%==10 goto Tie set one=1 set /a result=%choice%+%one% echo I choose %result%! ping localhost -n >nul 3 goto Loser :Tie echo I choose 10, too! ping localhost -n >nul 3 echo. echo -=-=-=-=-=-TIE-=-=-=-=-=- echo. echo Press ENTER pause>nul goto Again :Loser cls echo. & echo. echo %result% is bigger than %choice%. echo Sorry, you lose. echo Press ENTER pause>nul   goto Again :Again cls echo. & echo. echo Wanna play again? (y/n) set/p "choice1=>" if %choice1%==y goto Start if %choice1%==n goto End :Sorry echo. echo Choose y or n! ping localhost -n >nul 3 goto Again :End exit The problem is at line 9: "for /L %%G in (1,1,10) do if %choice%==%%G goto Add" With (1,1,10) the sysem can only recognise Integers. So, if you know any way to solve that problem or to make the code more compact, please tell me :P PS: I'm from Brazil, so I'm sorry if there are any grammar mistakes.

Posted by Tetheu98 5 years ago

how do i hack with out a cmd??

I need to learn how to do things on a school computer but i have no cmd cause you need to be an admin so i need some tips and help please

Posted by KLYMAXXFACT 6 years ago

Does anyone know a cool CMD console that the background gives a view of the hardware?

The program would be a command prompt and the background of the command prompt would be as if you computer had a glass casing so you could see all the wires and connections and stuff. I don't know if it exists but it would be pretty cool. Or even other cool CMD prompt backgrounds

Asked by DELETED_aChilNors 7 years ago

CMD full screen

I'm new and need help with batching. My question: Is there a command or command line that will make a .bat file full screen with-out going through the properties/defaults for each computer you want it to run on? Thanks much!! Batches Unite!!!!!!!!

Posted by spiker 9 years ago

Batch file-Change the target directory to wherever the file is?

I need to make a batch file change the directory to wherever it is currently stored. I know how to use the "cd" command, but I don't know how to get the current directory of the file. Can someone please help?

Posted by metrogdor22 7 years ago

How to remotely shutdown a computer on ANOTHER (EXTERNAL) network?

Just like the question states i am trying to remotely shutdown a computer on another network . basically: MY computer ( ---------> my Router-------> Internet--------> other router (> other computer ( I would not like to use vpn or port forwarding. Any Help is appreciated. ps both computers are running windows 7/10 (dual boot)

Asked by Genius 470 1 year ago

Batch file programming help

Hi, I've been recently working on a batch file program that can multitask, and open and close various programs on command. Currently, the main interface file is called "DBat"(without the quotes, and its a batch, so I guess its really DBat.bat). The folder it is in is on my Desktop, and called "DBat"(no quotes) I would like to make it so that when I open the folder, it automatically runs DBat. How would I do this? To explain it clearer: I open the DBat folder DBat.bat runs Anyone know how I should go about this?

Posted by metrogdor22 7 years ago

Web design & development series

Hi, I am web designer & developer form Nederland. I've been looking around here for some time and it seems like there are not many series that cover everthing about how to design and then develop a website. I thought it would be awsome to create a instructsble serie that let's someone develop there own website in pure HTML & CSS. So I have a couple of ideas. - explaining the basics of flat design (todays standard in web design) - creating a website in pure html & css from the ground up - creating a compleet wordpress theme - much more If you like one of the above ideas or if you have one of your own, please let me know. Thanks for reading. And let me know what you think! Greetings from Holland.

Posted by Kevin Tipker 2 years ago

external links wrapped & prevented from opening new window/tab with cmd-click or middle click

Any links in an instructable that go an external site use some sort of javascript trick to prevent these links from opening in a new tab if cmd-clicked (on both Firefox & Safari) and middle-mouse button clicked (on Safari). A website should not override standard browser behavior configured by the user.

Posted by todbot 8 years ago

how can i make a batch file that will start its source dir?

When i open this batch file i need it to open its source dir

Asked by 8 years ago

Batch project

I need people that can script/batch to bounce some ides off of. through ideas out and let them get heard, talk about them, ask for help, I will ask some things along the way I'm sure :D!! Batchers Unite!!!!

Posted by spiker 9 years ago

Software that will help with batch programming? Answered

I love to program in batch, but I would like to know if there is a software (Text Editor) directed at people like me (That like batch). A text editor that will correct most errors or that will tell me more info on the different commands OS: Windows 7 Thanks to anybody that answers or suggestions some softwares.

Asked by vorlock 8 years ago

Does some one have the code for salted sha1?

I need the c code for salted sha1. pls urgent or any program that can encrypt in sha1 salted format

Asked by jam BD 8 years ago

What batch files should I make?

Give me any ideas for simple batch files I should post to instructables. Any suggestions will be accepted. If you have any ideas for batch files I should make, please post them, and I will make an instructable with them. Please give any ideas. Thank You

Asked by race.freak 5 years ago

How do you use special characters in cmd?

I'm looking for the arrow (or triangle) symbols to put into a batch program. I know the alt # codes, but I want the codes compatible with ANSI. I have the down arrow, but it's an invisible symbol. Anyone know how to get them? (ASCII numbers are 16, 17, 30, and 31) Thanks!

Asked by race.freak 5 years ago