Hey, I recently found out how to shutdown another's computer using yours at school with command prompt and when I tried it, it didn't work. Here's the code: shutdown -i and when I click on browse, it says that the server is unavailable. And here at my school, we login to the network using an assigned 5 digit lunch number and a random password. We technically don't have an actual username to login with. I also learned how to send messages to another computer using command prompt and that doesn't work either: msg [/ persons lunch number] [/message time] [/message] …

Member Avatar
Member Avatar
+0 forum 13

Could someone please tell me how I can run my C++ code using Command prompt? How should I open it, and what I need to write? And if there are more than one text files in my code including input data, how I can choose one of them to run that one?

Member Avatar
Member Avatar
+0 forum 3

A feature of the doctest module can be useful when people copy and paste their idle window in the python forum: the ability to transform an example from the python interpreter into python code without the prompts [icode]>>>, ...[/icode] and the output messages. The script below permits to use this function from the command line.

Member Avatar
Member Avatar
+3 forum 3

Hello everyone. I just have a simple question with command prompt in Windows 7. Is there any command that copies the text from a file onto the clipboard so I can paste it somewhere? All I want to do is start the batch file and press Control-V. Solutions?

Member Avatar
Member Avatar
+0 forum 5

I want to copy a folder full of folders to a backup on another disk. But if a duplicate filename already exists on the other disk, I want Windows to prompt to ask whether or not to replace the file for each file separately. Windows XP just gives me the option to replace all of the files or not copy the folder. Only if I copy only one folder will it prompt individual files. There are hundreds of folders in this structure, but less than 100 duplicate file names. But I don't know where the duplicates are, and do not …

Member Avatar
Member Avatar
+0 forum 9

Hi My name is C.D., I am currently taking C++ 1, I have an assignment that asks me to write a function that displays the prompt string and then reads a floating point number and then returns that number. The book gives an example of the code to use in the main. My problem is I have been trying for days to get the prompt part of the functon to show on the console and I can't figure out why it won't I have tried numerous ways. Here is my latest attempt that still does not work. the program accepts …

Member Avatar
Member Avatar
+0 forum 3

Hi guys I need some explanation from you experts on php.I succeeded in installing MySql vers.5.5, workbench, myPhpAdmin and Wamp Server.I gave up installing Apache, too complicated, I use IIS7 anyway and works fine.All these tools work fine, I can create databases, tables, update them etc.and I am doing all the tutorials about php.Now I have this problem. Usually I start Wamp server and then I open the command Line Client,type my root password and I am in business.Sometimes though when I insert the password and push enter I get a loud beep, the prompt disappears and I cannot get …

Member Avatar
Member Avatar
+0 forum 4

Hi there~ I am kinda coding a verrry simple information system which uses Javascript. I am not familiar with JS and I only know the basics, but maybe what I'll ask is a veeery simple one but oh well, should I be asking if I found a solution after searching in google? No. So I am here again in DW since I have a LOT of good impression and like 90% of the posts I made were solved. :D So here goes: delete.php <?php $con=mysql_connect("localhost","root"); mysql_select_db("dbfirest",$con); $s=$_POST['id']; ?> <script type="text/javascript"> var answer = confirm ("Delete Item?") if (answer) <?php $sql="delete …

Member Avatar
Member Avatar
+0 forum 8

Dear All, i want to make a program through which, our chairman gets a prompt message one day before a deadline of a specific event comes. In database, il make a database fields like, **serialno, file, intial date, deadline date, status** how a user to get a deadline prompt message continues blinking when a deadline of a file comes? Help Please !

Member Avatar
Member Avatar
+0 forum 8

Hello Community, I was wondering if there is a way to stick a cmd window/process that i called from my vb form to the bottom of the form like the picture: (below) ![form2](/attachments/large/3/form2.png "form2") And so where ever i move the form the cmd windows will also follow. Also is there a way to hide the cmd windows in the taskbar. Please help

Member Avatar
Member Avatar
+0 forum 1

Hey all, Wanted to ask a question about the guest profile on Mountain Lion. I have always been a little insecure about changing and adding new feats to the terminal, so I'm trying to figure out a way that I can be *more* secure. I have recently edited both bash profile/rc to customize my needs. However, I think I want to take it a step further and start adding more elements to my environment. I'm a Web Developer, how about zsh? I was wondering if I could use the Guest Profile to make changes that are not always be correct, …

Member Avatar
Member Avatar
+0 forum 1

#Code for INSERT INTO into database and if fields are null, it will prompt for null fields.#

Member Avatar
Member Avatar
+0 forum 4

I found the syntax to change a user password through command prompt. I am using: net user username password I have sucessfully changed the password to a regular password. I can not figure out how to change it to a pass-sentence. How would I write the syntax for a password with spaces in it? For instance, please explain how I would write "My new password." in cmd...because this doesnt work: net user testuser2 My new password. I am sure that it is case sensative, no? If its case sensative for the password, why wont it recognise the sapces as part …

Member Avatar
Member Avatar
+0 forum 3

Hello Every one..... I'm developing a web page to generate 2 random numbers and prompt the values to the user and they need to add those numbers and give the result. I tried it a lot but the values are not passing to the prompt window... can anyone help me... script contains these line: var a=Math.floor(Math.Random()*6); var b=Math.floor(Math.Random()*6); var result=a+b; var res=prompt(a+" + "+b+"); if(res==result) alert("you are correct"); else alert("you are wrong"); Can any one help me to resolve this

Member Avatar
Member Avatar
+0 forum 1

Hello Community, I was wondering if it's possible to attatch a command prompt window to a visual basic form. EG. (Below (i made this as an example)) ![example8](/attachments/small/3/example8.png "align-left") Something like that. Please help.

Member Avatar
Member Avatar
+0 forum 2

I have searched and nothing that I have found hits directly on what I am looking for (or maybe my searches have not hit on the combo of words). In C# I have created an Excel sheet, using Interop.Excel, in which I insert some data and create a chart. This all works fine when I do a xlWorkBook.SaveAs. What I want to do is prompt the user to put the automated workbook somewhere with thier own file name. I have tried (<http://p2p.wrox.com/vb-how/63900-disabling-second-excel-save-prompt.html>) where he basically does a new SaveFileDialog then if its == OK he builds his Excel sheet then …

Member Avatar
+0 forum 0

Hi, I find in all books and websites that in order to run a Python script from the command prompt, I have to run something like this [CODE]python example.py 1.3[/CODE] where [B]example.py[/B] script is provided with an argument of 1.3. However, it is not working for me in Windows 7 until I delete the python part, so that the command looks like: [CODE]example.py 1.3[/CODE] I have already changed the path variable of Windows to include the Python directory. Why isn't the [B]python[/B] word necessary for me, even though it's mentioned everywhere? And why does it throw an error when I …

Member Avatar
Member Avatar
+0 forum 2

I'm attempting to recreate the Unix shell program "todo.txt" using C++ on Windows. An example use of my program in the Command Prompt would be: [CODE]>todo /A "I like cheese."[/CODE] which would append the item "I like cheese." to the file "todo.txt". In my program, there is a line which checks the arguments for the "/A" trigger: [CODE]if (argv[1] == "/A") { ... }[/CODE] My problem is that when I use the "/A" trigger in the Command Prompt, my program returns the previous if statement as false (???). I've noticed that the argument "argv[]" is an array of char arrays: …

Member Avatar
Member Avatar
+0 forum 1

Hi All, thanks in advance for any replies. Environment: PHP5, MySQL, Windows XP/Server 2000/Server 2003. Problem: Using shell_exec to run a small program connected to a database, waiting for it to finish and then outputting a file which was produced. All was fine until I got a new and larger database, now my script will run for 10+ minutes before timing out when it hangs on the shell_exec function. Until the timeout, I can see a new instance of CMD.exe appear as expected. Yet when I run the exact same command (referenceing the same database) manually in a command prompt …

Member Avatar
+0 forum 0

Hi all. I'm trying to create custom prompt. When I click on the button, appears custom prompt and ask "Do you realy want to submit?". When I click "Yes", the form isn't submited. Here's html code: [CODE]<html> <head> <link rel="stylesheet" href="look.css" type="text/css"> <script type="text/javascript" src="script.js"></script> </head> <body> <form name="novo" action="obrada.php" method="post"> <input type="text" name="a"> </form> <input type="button" value="Send" onclick="openPrompt()"> </body> </html>[/CODE] css code: [CODE]input.prompt{ border:1px solid blue; background-color:#ebebeb; font-family:Libersina; font-size:15px; color:#003510; } td.titlebar{ background-color:#aabbcc; color:#000066; font-family:Libersina; font-size:15px; } table.promptbox{ border:1 solid #ccccff; background-color:rgb(182,220,233); color:#000066; font-family:Libersina; font-size:15px; padding-bottom:5px; padding-right:5px; padding-left:5px; padding-top:5px; } input.promptbox{ border:1px solid blue; background-color:#ebebeb; font-family:Libersina; font-size:16px; color:#003510; }[/CODE] …

Member Avatar
Member Avatar
+0 forum 5

I need to run a batch file batch file which is stored in my C folder. When I run this file, I get the following on the cmd. 1 APs were seen MAC Address SSID RSSI 00:27:0d:b6:df:10 IBM -93 Press any key to continue . . . Now, I need to run this batch file from VB6 every 5 minutes, and read the output from cmd and store it in a text file with the corresponding timestamp (that is when the bat was run). I am VB newbie and any help would be really appreciated. Also, this is what the …

Member Avatar
+0 forum 0

I'm using Python and the Python CGI module to do some web development for a system's administrative access page. The problem I have is that the current features allow you to reboot the system, power off the system and stop/start/restart system services. The system is very limited in what's running (no PHP, Apache, MySQL, etc), but the system does have Python. My question is that when you click on the power off or reboot links, the system does it immediately. What I'd like the ability to do is require the user to re-enter the administrative password before the command is …

Member Avatar
Member Avatar
+0 forum 5

Hallo there everyone, i am using a command on the server (kinit)and after that a password is required to type in the thing is that i would like that to be done automaticaly from the php code! i found that one [URL="http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php"]http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php[/URL] but is not what i want(and is not working) i thought something like [CODE]fwrite and then the$_SERVER['password here'] [/CODE] and then use the Post method to be writen on the prompt but i am not quite sure whta to do ..

Member Avatar
Member Avatar
+0 forum 1

Hello everyone. I am trying to write an application that uses OpenGL (with GLFW) for graphics. It is meant to be as portable as possible, and I try not to have direct interface with platform specific things other than through GLFW (I can also use SDL). The problem is that when I build and run my app, the Command Prompt pops up behind the GUI window. I know that there are ways to disable this, as I have done it before when I was using MSVC. My question is: How can I disable the command prompt (only using the GUI …

Member Avatar
Member Avatar
+0 forum 1

I have an Add-In for Excel 2007 (can't post the code here unfortunately) and in some instances, when the user makes a certain change within the Add-In then closes Excel 2007, they are prompted to enter the password for the VB code within the Add-In. The password prompt dialog can be closed by killing it in the Task Manager but we'd still like to get to the bottom of what's causing this issue so that we can save our users from the annoyance. The information I've found online from Microsoft references that Google Desktop or the Google Toolbar may interfere …

Member Avatar
+0 forum 0

[COLOR=Red][B]This blog entry is regarding a registry hack for Windows XP. Be advised that twiddling with the registry requires care, and use the information here at your own risk. [URL="http://support.microsoft.com/default.aspx?scid=kb;en-us;322756"]Backing up[/URL] the registry before proceeding is adviced. [/B][/COLOR] This is a based on the [URL="http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm"]Add Command Prompt Here[/URL] tweak that is fairly common in the internet. What the original tweak basically did was, create a shortcut in the Directory/Drive Context Menu of Windows Explorer when clicked executes a command prompt with the clicked directory as current directory. This modification was created so that I could run a root console from …

Member Avatar
+0 forum 0

You can now put a bootable copy of windows on a USB flash drive and then use it as an easy way to recover your windows files if it crashes or just to bring your xp wherever. You need 3 things for this a USB drive with at least 256mb of space, a windows setup cd, and last the freeware program BartPE. BartPE will go through the setup cd and then create a small bootable version of windows that you can then boot on anywhere. full article [URL="http://tomshardware.co.uk/2005/09/09/windows_in_your_pocket/"]http://tomshardware.co.uk/2005/09/09/windows_in_your_pocket/[/URL] I thought this was really cool and that it is nice to …

Member Avatar
+0 forum 0

Get ready for [URL="http://www.microsoft.com/security"]Patch Tuesday[/URL]. July 13th will be the biggest update for 18 months, with no less than 12 security bulletins: 9 for the Windows OS, 2 for Office and 1 for Exchange. Of these, both Windows and Office updates include one flagged as critical, the highest Microsoft threat rating. At the same time, Microsoft is also releasing 3 non-security, yet apparently high priority, patches for Windows and a new version of the Windows Malicious Software Removal Tool. If you are a Windows 98 or ME user, however, you’d better make the most of it as this will be …

Member Avatar
Member Avatar
+0 forum 2

The Washington Post, among other news agencies is reporting a "severe" security flaw that affects Microsoft Windows 98 - XP. According to the article, the flaw allows computer virus and spyware manufacturers to disribute malicious programs designd to take control of affected computers. Macintosh and Linux users are immune to the problem, even those computers that operate Microsoft Software. The issue is a core Windows problem that has not been addressed since Windows 98. Feel free to read the article at: [url]http://www.washingtonpost.com/wp-dyn/content/article/2005/12/29/AR2005122901456.html[/url] Unfortunately, due to limited time, your author (me) has not had the chance to track down and determine …

Member Avatar
Member Avatar
+0 forum 8

In between Service Packs a lot of 'Hotfix' updates are developed and made available. A number of them get made available via Windows Update as Critical updates because they relate to security issues, but most don't. Instead, the 'Hotfixes' which relate to specific problems get mentioned or linked in Knowledgebase articles. Quite a few are only made available following a specific request for them to Microsoft Product Support Services. "Only apply it to systems that are experiencing this specific problem" you are told, and "..if you are not severely affected by this problem, we recommend that you wait for the …

Member Avatar
Member Avatar
+0 forum 1

The End.