Re: Cannot run exe from asp.net Programming Web Development by lennyli …gt; <% Dim objShell Dim command Dim result ' Path to the executable command = "C:\inetpub\wwwroot\… the executable result = objShell.Run(command, 1, True) 'result = objShell.Run(command) 'result = objShell.Exec(command) ' Clean up Set objShell =… What’s Best Way to Clear File Contents Without Deleting the File in Linux Hardware and Software Linux and Unix by adildixi … detailed explanation useful. It covers several approaches, including the truncate command, redirection methods, and : > filename tricks. Curious to know—what… Re: What’s Best Way to Clear File Contents Without Deleting the File in Linux Hardware and Software Linux and Unix by Reverend Jim I'm confused. Since the log file is recreated automatically what is the problem with just deleting it? But if you want to shorten it you could always open it as write (but not append) and write a null string to it. Re: What’s Best Way to Clear File Contents Without Deleting the File in Linux Hardware and Software Linux and Unix by Salem I guess most people just use https://linuxconfig.org/logrotate Set it and forget it. There's no need to resort to random per file hackery (or quackery). python programming issue Programming by Ccrobinson001 When running the following command I get an error > Quoted Text Here python3 -m … Re: Show computer name on a label Programming Software Development by toneewa … Runtime Checks-> Default Configuration Properties->C/C++->Command Line-> /AI"C:\Windows\Microsoft.NET\Framework64\v4… Re: Show computer name on a label Programming Software Development by toneewa … Runtime Checks-> Default Configuration Properties->C/C++->Command Line-> /AI"C:\Windows\Microsoft.NET\Framework64\v4… Re: python programming issue Programming by Reverend Jim Can you please post the contents of requirements.txt? I don't know if this will make a difference, but when I install python I always put it in c:\python and install for all users. I find it much easier when trying to fix problems like this to have all the files in a top level folder rather than buried multiple levels down in appdata… Re: python programming issue Programming by GodMode9 I have faced similar issues before! Sometimes the problem is related to incorrect indentation. Python is very particular about spaces, so double-checking your code can help fix the issue. Re: python programming issue Programming by Pebble94464 Hi Ccrobinson001, I've just attempted installing to my system but could not reproduce the issue. Everything installed as expected. Maybe you could try upgrading **pip** and **setuptools** first, if you haven't done so already? pip install --upgrade pip setuptools I recreated your requirements.txt file based on the output that you … Re: SAP db - how to get the time update statistics was performed on a table? Programming Databases by peol To check when update statistics was last performed on an SAP table, use database-specific queries! For SAP HANA, check M_TABLES.LAST_COMPILED. In SQL Server, use STATS_DATE. For Oracle, check DBA_TAB_STATISTICS.LAST_ANALYZED. In DB2, use SYSCAT.TABLES.STATS_TIME. Stay optimized, stay ahead! Re: Command Line Arguments Programming Software Development by Ancient Dragon command line arguments are entered into your program via main() function. … characters that contain the strings that you put on the command line, separated by spaces or tabs. argv[0] is always… of the program. So if you typed this on the command line your program would bet four arguments [icode]c:>… Re: command line arguments Programming Software Development by TrustyTony Command line arguments you can access like normal list, just import … item in sys.argv: print item [/CODE] You run command from command window with parameters: [CODE] D:\Python Projects\Tests>pyparams… Re: command line parameters Programming Software Development by Tellalca Command line arguments are passed to programs automatically when you use … is almost never done if you are not using a command line based Linux OS. What you do to run a… program on command line, you call it like "myprogram.exe". If… Re: Command line parameter parsing Programming Software Development by raptr_dflo Command-line argument handling is certainly a challenge, especially if you … Re: Command Line Arguments with integers Programming Software Development by deceptikon Command line arguments are always strings. What those strings represent depends on your code and how you use them. But yes, if an argument represents an integer and you want to store it in an integer type, you need to convert the string with something like `strtol` (`atoi` is not recommended...ever). command help Hardware and Software Microsoft Windows by jai614 … search. Does someone know what is the [B]string or command[/B] for opening the contents of a folder in [B…/1452/folder4ss.th.jpg[/IMG][/URL] I made an open command with explorer as the application, my folders open now but… Command Help Hardware and Software Linux and Unix by hefaz How to write Command to erase all files in the current directory, including all its sub-directories, using only one command? Re: Command Help Hardware and Software Linux and Unix by Gribouillis On my system, I installed the hh command from [Click Here](https://github.com/dvorka/hstr) (shell history …suggest box). I can navigate history with the hh command and remove specific entries with the del key. Another way… Re: Command Help Hardware and Software Linux and Unix by hefaz can i remove a specific directory? whit this command? Re: Command Help Hardware and Software Linux and Unix by Slavi By erasing them from bash_history, but if you want to delete a folder called "myFolder" and everything in it, just use sudo `rm -rf myFolder` then even if you recall the command later on, it will just give an error that the folder was not found Command and Decoration pattern combination issues Programming Software Development by n0de …{ } void flipUp() { flipUpCommand.execute ( ) ; } void flipDown() { flipDownCommand.execute ( ) ; } private: Command& flipUpCommand; Command& flipDownCommand; }; class Decorator: public Switch // 4. "is… Command line user input Programming Software Development by crumpet …test 1 2 3 So it would carry out a command: [CODE=python] def test(firstnum,secondnum,thirdnum): return …thirdnum): test(firstnum,secondnum,thirdnum) [/CODE] Now the first command, exit, works fine, but I don't know how…staged user inputs. So the user would input: Enter command: test 1 2 3 then the firstnum,secondnum,thirdnum… Command line equivalent of HTTP request with query string Hardware and Software Linux and Unix by Airshow …;run_in_background" function wrapper to issue commands. [CODE] function run_in_background($Command, $Priority = 0){ if($Priority){ $PID = shell_exec("nohup nice … /var/www/make_objects.php"; $priority = 0; $pid = run_in_background($command, $priority);//kick off background process ... [/CODE] [ICODE]make_objects.php[/ICODE… Re: Command and Decoration pattern combination issues Programming Software Development by n0de …: candidates are: testpattern.cpp:66:9: note: Switch::Switch(Command&, Command&) testpattern.cpp:66:9: note: candidate expects 2 arguments… command prompt in c# Programming Software Development by dc_24l hi there i have a text box and a command button in a C# project and i want to access the command prompt with it whenever i input like dir in the textbox and click on the command button the dir will go to the command prompt of windows command prompt and execute the command. Can anyone help? Thanks :) Re: command line arguments vs config file Programming Software Development by raptr_dflo …also reads its config file on start-up. The command-line is better suited for information specific to that … will display usage information. In addition to handling the command-line arguments passed into your program, it's a good…for helping with the rather boring task of defining the command-line arguments of a program, and then parsing those… command line build option Programming Software Development by m_meena … C#, VB and .NET. When i build a component by command line it gives error for the dependent libraries. How can… /MAKE "C:\myproject.vbp" but it says invalid command line arguement /reference. i replaced it with /r but the… know what are the options to specify these includes in command line for various projects (vc++,C#,vb,net) Thanks … Re: Command line user input Programming Software Development by crumpet Thanks shadwickman! My command line now works just as it should. Command Pattern Programming Web Development by RehabReda … put these statements ?:?: [ICODE]Receiver receiver = new Receiver(); Command command = new ConcreteCommand(receiver); Invoker invoker = new Invoker(); //… Set and execute command invoker.SetCommand(command); invoker.ExecuteCommand(); [/ICODE] please if anyone have…