Phpx Activate User No Input File Specified

Posted on by
  1. Apache No Input File Specified
  2. No Input File Specified Php
  3. No Input File Php
  4. Codeigniter No Input File Specified
Active1 year ago

I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc.).

  • No input file specified when the file actually *IS* present? This happens often if the value of the doc_root variable in the php.ini file of you php installation does not match the DocumentRoot variable in your server configuration script.
  • Quick Reference Guide. Found at its storage location and has been correctly entered, no user. Generate a bookmark for each input file).

I don't want to use some program to do that, I'm looking for something cleaner. I've found a solution that uses VBScript, but I don't really like using VBS, either.

Hennes

If you see error 'No input file specified.' On IIS server, it signifies, that your PHP is not configured correctly in your IIS server. See how to solve this. You can still activate by going to File > Help > Activate Product Key. In the Activation Wizard, choose the option for activating by telephone, and when you call the. Using PHP from the command line. You get 'No input file specified.' However, in CLI mode the HTTP headers are not printed. User@host: php file.php. I just create a simple php file that show php info, but even that file cannot be viewed, it just show 'No input file specified' Reply Martin Fjordvald Posted: July 24, 2013.

60k7 gold badges94 silver badges144 bronze badges
Moayad MardiniMoayad Mardini
1,8436 gold badges21 silver badges24 bronze badges

23 Answers

Solution 1:

Save this one line of text as file invisible.vbs:

CreateObject('Wscript.Shell').Run '' & WScript.Arguments(0) & '', 0, False

To run any program or batch file invisibly, use it like this:

wscript.exe 'C:Whereverinvisible.vbs' 'C:Some Other PlaceMyBatchFile.bat'

To also be able to pass-on/relay a list of arguments use only two double quotes

CreateObject('Wscript.Shell').Run ' & WScript.Arguments(0) & ', 0, False

Example: Invisible.vbs 'Kill.vbs ME.exe'

Solution 2:

Use a command line tool to silently launch a process : Quiet, hidecon or hideexec.

Vlastimil Ovčáčík
1,6671 gold badge12 silver badges28 bronze badges
harrymcharrymc
284k16 gold badges302 silver badges615 bronze badges

To Hide batch files or command files or any files.. Use Windows XP built in IExpress.exe utility to build a .EXE out of the batch file. When using IExpress make sure you check the run hidden option and check mark all the boxes about not showing anything. After you create your .exe place it in whatever run command folder you choose and you will never see it come up.

Danilo Roascio
2,7741 gold badge8 silver badges8 bronze badges
Paul CheselskePaul Cheselske

Driver epson l800 windows 7. use Cmdow is a Win32 commandline utility for NT4/2000/XP/2003 that allows windows to be listed, moved, resized, renamed, hidden/unhidden, disabled/enabled, minimized, maximized, restored, activated/inactivated, closed, killed and more.

Run a batch file hidden passing it parameters:-

cmdow /run /hid mybat arg1 'arg 2'

joejoe
10.2k9 gold badges59 silver badges101 bronze badges

If your Batch File can fit into one line and so many characters, then just use a Shortcut by right clicking inside a folder put in a random directory, and skip through the rest of the wizard, and lastly right click on the shortcut just created and click properties and under target, input what you would usually put in a bat file. And Bobs your uncle!

Pros:

Cons:

Jack SJack S

Run the script via an at job without making it interactive:

No input file php

Another solution, if you don't mind installing something like Python, you could simply create a script and run it with pythonw (the linked version for GUI operations). Since you aren't using any graphical APIs, the window will not show. Simply use calls to os.system() and it will mimic a batch script, as it is the same as typing the strings into the command line.

Example:

John TJohn T
146k22 gold badges304 silver badges335 bronze badges
Brad GilbertBrad Gilbert
7311 gold badge6 silver badges15 bronze badges

Using Windows7, you can use the 'Scheduled Task' control panel to schedule a batch file to run in the background invisibly with specified permissions and even as the 'SYSTEM' account. See screenshot below:

Furthermore, although with not as many capabilities, you can also create a invisible batch script task like this from the command line using the 'AT.exe' command without the '/interactive' option.

djangofandjangofan
1,6966 gold badges24 silver badges33 bronze badges
Specified

I don't like VBScript solution.

Download and copy nircmd.exe to your %systemroot%system32 folder, then add this command to first line of your batch:

or make your batch title custom first with title command to avoid from hiding all cmd windows, like this:

BijaN-RBijaN-R

Seems that somebody made a list of the 7-8 ways to run 'silent':

Gaff
16.4k11 gold badges51 silver badges65 bronze badges
RolnikRolnik
1,2272 gold badges13 silver badges25 bronze badges
endolithendolith
3,41219 gold badges63 silver badges109 bronze badges

YET ANOTHER way, from C/C++, is to use the CreateProcess function with the CREATE_NO_WINDOW flag. It has a lot of extra power not shown here. This is just the minimum you need to replace system() or the _spawn() family.

Swiss FrankSwiss Frank

The excellent Bat To Exe Converter will convert your .bat or .cmd file to an .exe file.

It has a simple UI. You can choose not to have a console windowby selecting the “Invisible application” option. Also, it allows you to assign an icon,package associated files, and several other options.

Here’s a screenshot of the main interface window:


Note that this image is out of date. It shows version 2.4.8, and, as of September 2018,the website offers version 3.0.10.0 (last updated 2018-03-23).

Warning: the www.f2ko.de website links to coinhive.com,which is widelyidentifiedasmalware.

Scott
17.2k11 gold badges46 silver badges92 bronze badges
BullyWiiPlazaBullyWiiPlaza
2881 gold badge3 silver badges20 bronze badges

I did it successfully with nircmd this way:

  1. download nircmd.exe from the link
  2. create your .bat file
  3. the first line of .bat file has to be this: nircmd.exe win hide ititle 'cmd.exe'
  4. select both files and create a self extract file using winrar
  5. in 'general' tab, check 'create autoextract file' box
  6. in 'advance' tab select 'autoextract' button
  7. there is a new window and select 'mode' tab then select option: 'hide everything'
  8. select tab 'update' and select option 'overwrite existing files'
  9. Select 'general' tab and define a destination folder for extraction if you wish and in the box 'Excecute after extraction' write the full path where your .bat will be extracted.Ex: if you define extraction folder as: 'c:windows' then the full path to excute after extraction will be: 'c:windowsfile.bat' (in the case your .bat is named: file.bat)
  10. click accept on all windows

Now you will have a .exe file that after you doble click on it and install it, your .bat will run totally hidden.

ZEUSZEUS
BloodPhilia
25k14 gold badges77 silver badges107 bronze badges
malakmalak

You do not need to do any special.

If you are running the batch files from a windows service, they should be hidden by default unless you enable the 'Allow service to interact with desktop' option on the service.

sgmooresgmoore
5,7212 gold badges21 silver badges32 bronze badges

Adding my answer here from another post since it was a duplicate and I don't see this solution here so now there are 17 different answers for how you can run a batch file hidden. I will delete my answer on that post at some point in the near future.

Create your batch script with your batch logic and commands in it, and then create a new file with .VBS extension, use the below logic (example I provided below) and just plug in the full path to your .CMD or .BAT file with the PING -t <IPAddress>, etc. commands so it executes the batch in a hidden manner not showing the command window when it is executed.

Where the logic in the example below specifies C:FolderBatchFileName.cmd change that to point to the batch script with your commands you are running manually, etc. now.

Save the .VBS file and schedule it with Task SchedulerProblems scheduling a task on windows7 to run on an indefinite schedule for your needs.

Otherwise, just double-click on the .VBS file to run the infinite PING command you put in the batch file you point it to as-needed.

NOTE:I believe this is where I got this script logic from but it works reliably for the same purpose you need here which is to ensure the command window is hidden when a batch file is run Server Fault Source

EXAMPLE VBS SCRIPT RUN COMMAND LINE BATCH HIDING CMD WINDOW

Community
Pimp Juice ITPimp Juice IT
26.9k11 gold badges42 silver badges81 bronze badges

Here I've compiled all ways that I know to start a hidden process with batch without external tools.With a ready to use scripts (some of them pretty rich on options) , and all of them form command line.Where is possible also the PID is returned .Used tools are IEXPRESS,SCHTASKS,WScript.Shell,Win32_Process and JScript.Net

Community
npocmakanpocmaka

Despite I've already answered this here's another approach. The different here's that the batch script can self-hide itself during it's run.You'll need two additional scripts though - windowMode.bat and getCMDPid.bat (both are containing .net code). Here how then can be used:

npocmakanpocmaka

I had the same problem, but figured it out:
Shell('filehere' & 'parametersforbatchfilehere', vbHidden)

Alan PanayotovAlan Panayotov

I started trying to figure this out and never really succeeded. This was as close as I got:

Stein Åsmul
8941 gold badge12 silver badges22 bronze badges
djangofandjangofan

Apache No Input File Specified

1,6966 gold badges24 silver badges33 bronze badges

I needed to hide the window for a batch file called from an explorer context menu, and also needed to add quotes on the parameter. None of the answers worked for me, so I'm adding my own solution.

I had this on the registry 'command' for an explorer context menu:

So to replace it I had to create a vbs like this:

Save in a place like C:mypathmyscript.vbs and call it like this on the registry:

Note that the .bat path can't have spaces, so replace it with the 8.3 filename. So for instance C:Program Filesmyprogram.bat have to be referenced as C:Progra~1myprogram.bat. To see the 8.3 filename use dir /x

bortaobortao
4052 gold badges10 silver badges26 bronze badges

I'm created RunApp to do such a job and also using it in my production env, hope it's helps.

No Input File Specified Php

The config like below:

file: config.arg

And launch runapp.exe instead.

James YangJames Yang

This works for windows 8 (possibly others)

  1. Create a batch file as normal
  2. Create a shortcut to the batch file
  3. Right click on the shortcut > properties
  4. Click Layout
  5. Untick 'Let system position window'
  6. set left position tp -1000
  7. click apply

  8. Click on the shortcut and it will run but you wont see it :)

No Input File Php

AndrewAndrew

protected by bwDracoApr 26 '16 at 16:54

Codeigniter No Input File Specified

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged windowscommand-linebatch-file or ask your own question.