InterviewSolution
Saved Bookmarks
| 1. |
Solve : Interactive .bat?? |
|
Answer» On some cmd's I've seen the user is ABLE to interact with input areas by clicking on them. On some cmd's I've seen the user is able to interact with input areas by clicking on them What commands? Batch files are text based and cannot interact with windows or forms. Batch files are designed for the cmd shell and can prompt for low volume input and output to the console, but that's about as interactive as it gets. VBScript and JScript have limited functionality with input (input boxes), output (message boxes, popups) and the Windows shell dialogs (BrowseForFolder, SaveFileAs). Short of a full programming language you can develop HTA's which combine VBScript with HTML (no BROWSER required) that allow the user to develop a GUI for an otherwise colorless VBScript. woops missed the clickin g on partAh, sorry I FORGOT. The program I was looking at was running in a DOS - Environment, I guess it just looked like cmd. Would that be in C++ or something? Another question, is there a way a batch file can encrypt/decrypt things when they import/export them?Quote is there a way a batch file can encrypt/decrypt things when they import/export them? Anything is possible, but a more likely scenario would be a batch file launching a program to do the ACTUAL encrypting/decrypting. Quote Encryption: The process of converting information into a form unintelligible to anyone except holders of a specific cryptographic keySource Batch code is a command language not a programming language. |
|