with the command line remote reboot
I know not how to remote shutdown of a pc on our network using the command-line using this...
Shutdown - r f t 0 - m ComputerName
But how to do it with my mac to pc?
Again, you can not. The commands only work with the same OS.
Yes Mac to Mac, Windows, Windows, etc.
You will need to find some kind of package of administration remote cross-platform.
Tags: Windows
Similar Questions
-
How to remove a shortcut with the command line?
How to remove a shortcut with the command line?
How to make a backup of the local users and groups with command line?
You delete a shortcut, just as you would remove any other file. A shortcut will end with the extension ".lnk". So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file. (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:
del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".
What kind of a backup 'users and groups' you want to do? If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line. If you are trying to backup all users and their data as well, then you are better off with a backup program.
HTH,
JW -
Deployment of final application with the command line Question
OK so I have my finished application.
on a folder in my office called "CODBOUG".
So I tried different methods to run the application and complete the test on the Simulator with the command line. But it's just too much. So I need your help community!
I tried:
BlackBerry-deploy-installApp-package CallofDutyBlackOpsUltimateG
uide.bar - device 192.168.18.128
I'm a little lost with the help of the command line, if someone could guide me on the right lane.
I'm on windows, btw.
Thank you.
When you run a command, Windows will search in a series of directories for this program to run. The list of directories is stored in what is called an environment variable. You must add the path to the bin of the sdk at this variable directory (e.g. C:\Program Files (x 86) \Adobe\Adobe Flash Builder Burrito\sdks\blackberry-tablet-sdk-0.9.3\bin).
You can access the path variable by right-clicking on my computer > properties. Select the Advanced tab and click on approx. Variables.
Under System Variables, search PATH and edit it. Add the path to the sdk bin directory (make sure that there is a semicolon, that separates the directories).
Open a command line window in the directory where your .bar file. When you run the command, Windows will look for blackberry - deploy and can be found in the directory that you have added to your PATH variable so to run it.
-
VMWare Player startup with the command line command does not work!
Hello everyone,
I'm new to the community and it will probably show. So, I say sorry in advance for the flaws, I'll do. Since I am of German native language I need to translate it into English. So, I could use special terms wrong, but I'll certainly try to avoid this. Just keep in mind. And now my question:
I was running VMware Player 3.0 with VMware Tools installed and VMware VIX 1.8.0 installed on a host of Win7 Ultimate 64-bit. The Useraccount on the host has administrator rights. Guest operating system is WinXP SP3. Since I need two softwares of different recording/Dictation on my workstation and I could only one of them simultaneously open (which is very uncomfortable, when you need to change frequently), because those two were always challenging who got to use the microphone, I installed a second microphone (that only the application for the two contest) and then created a virtual machine to run the software second with one of the two microphones connected only to the prompt. (Directly/comfortably) to start the second software I created a. LNK shortcut file (and attached to the startmenu) who run the command
Departure of player "C:\Program Files (x 86) \VMware\VMware" t "C:\Users\USERPROFILE\Eigene virtual Computer\Recorder Windows XP Pro Windows XP Pro SP3.vmx VM SP3\Recorder VM.
with the recorder VM "VM Windows XP Pro SP3" opening the second software automatically (autostart).
This worked well, until I updated my VMware Player to 3.0.1. Since the update however, my shortcut file simply is unable to start the virtual machine. However, starting the virtual machine of VMWare Player normal window still works. By running the command mentioned above constitute the command line prompt, I got the information, this vmrun.exe could not connect to the host, due to an error, the specified version is not found, which probably means that the VMware Player.
P:\ & gt; "" Player t C:\Program Files (x 86) \VMware\VMware VIX\vmrun.exe "start"C:\Use ".
virtual rs\USERPROFILE\Eigene Computer\Recorder VM Windows XP Pro SP3\Record
ER VM Windows XP Pro SP3.vmx"
Unable to connect to the host.
Error: The specified version is not found
P:\ & gt;
I tried the VMware VIX update (from 1.8.0 to 1.8.1) without success. The errormessage even remains.
The three relevant paths for VMware Player, VMware Vix and the VM are spezified in the systemvariable path as follows:
% SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; "" C:\Program Files (x 86) \VMware\VMware VIX ". "" C:\Program Files (x 86) \VMware\VMware Player. " "' Virtual C:\Users\USERPROFILE\Eigene computer; C:\Program Files (x 86) \QuickTime\QTSystem\
Today suddenly wrong?
Any help would be greatly appreciated.
Thanks in advance to one that solves the Enigma.
Hello
Meine VMs starte ICH mit dem VMplayer so:
vmplayer.exe _
VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual
-
remove the material with the command line
I have a virtual machine that is powered on and in a cluster and I need to migrade. the vehicle currently has a cdrom installed but I can not change it (the cdrom is grayed out) is there a way to remove these devices from the virtual machine in VC with a command line so I can migrate? (it's really just the cdrom which is holding it up. Oh and the kicker is I can't restart the VM,...
Hello
I have no version of ESX 3.0 coming down more, but you can try to do it by using vimsh as follows:
Connect to the Console on your ESX host and enter as root:
vimsh
Now to get the ID of your virtual machine in question for help (scroll through using shift page up / page down if you must)
vmsvc/getallvms
Note the ID of virtual machine, for example, it can be a number like 4400
Find the key to your VirtualCDrom by querying the hardware devices to your virtual machine.
vmsvc/device.getdevices 4400
Scroll to the top again and note the key, in my case, it's 3000
Now, disconnect the CD-ROM device by running:
vmsvc/device.connection 4400 3000 false
Use true if you want to connect the device.
Just tested on VMware ESX3.5 and it worked very well there.
--
Wil
_____________________________________________________
Visit the new VMware developers at http://www.vi-toolkit.com wiki
-
Create shortcuts with the command line switches
I have three versions of Word on my computer. (I know, I'm a masochist).
There are times when I want to run one of them in safe mode. Those who get me if I run winword.exe /a in the run window let you guess.
I know I can get it by including all the way, but it's a pain.
I would like to make a few shortcuts in Windows that would do this for me. However, I don't know how to add the command line switches. I used to be able to properties (similar to editing a .pif file) but it doesn't seem to be an option.
You * need to locate executable files and create each shortcut via right click on the executable file. Shortcuts Microsoft Office may not be "real" classical shortcuts
Right click and change the shortcut. In the 'Target' box, add at the end command line switch.
For example... I found the 64-bit Microsoft Office 2010 Word executable here:
«"C:\Program Files\Microsoft Office\Office14\WINWORD."» EXE ".and created a shortcut on my desktop. The "target", said:
«"C:\Program Files\Microsoft Office\Office14\WINWORD."» EXE ".I added the / a that you pointed at the end, the target is now:
«"C:\Program Files\Microsoft Office\Office14\WINWORD."» "EXE" /a
In fact - the after typing all that above, I realized that there is a Microsoft Knowledgebase Article... Google worked and I do not use it. Heh
-
import data with the command line switch
Is it possible to automatically import data to a .pdf file? My idea would be a command line switch, but another way would be appreciated also.
To explain myself better (my English is bad and I use a non-English version of Adobe Acrobat Reader):
I use Adobe Acrobat Reader DC and got a PDF with a lot of filelds. Now I can open the 'empty' file and import the data (.xml or .xdp format, I prefer .xml). It works very well.
I would like to stress that this task "import data" is performed automatically when I run the file - so I think that a command line parameter, but also another (macros?) way would be OK.
sincerely
Bruno
Open the FDF file instead. It must contain a key F name the PDF file.
-
problems with the command-line command pc
on the side of mac, I work from command line. But on the pc side I can't understand this.
on a mac, this is
deleteF="rm -r "+myNumPhoto.slice(0,39)+"imaging/*"; app.system(deleteF);
on the PC I'm trying to do the same thing with this.
deleteF = "RD/s \\TEST\test".
It runs the command, but I get the system cannot very well the specified file.
If I run the slashes on the other hand, it works not at all of the suggestions would be greatly appreciated.
much of the problem was with all the obliques. They must return the characters. That said I ended up doing a string. Here's what I used.
myNumPhoto=app.document.presentationPath; s=myNumPhoto.slice(0,42) s.toString(); s=s+"imaging"; deleteF="RD /S /Q "+s; addF="MD "+s; app.system(deleteF); app.system(addF);
I had to delete the folder, and then add it in back on the PC because the command RD except no wildcard characters.
-
Problem with the command line APEXEXPORT after upgrading to 3.2
Hello
After the upgrade to 3.1.2 to 3.2 Apex (upgrade went well), I get the following error message when you try to do an export of command-line applications:
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/apex/APEXExport (unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0 (Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
in java.net.URLClassLoader.access$ 100 (URLClassLoader.java:55)
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Any ideas? It worked perfectly fine before the upgrade... I use Oracle 10.2.0.4 database JDBC jar files.
Thank you
Matthias HoysHello
Machines virtual Java is backward compatible, so you can use the JDBC 1.4 with JVM 1.5 or later without problem, no need to download new classes.
And Yes, I think that it is best to go directly to JDK1.6... Here I have 1.6 and use the tool to export Apex with the 10g JDBC classes without problems.
Luis
-
Oracle 10g convert N column with the command lines.
SQL > USER to see THE
VEERA
SQL > create table test (number n, fname varchar2 (10), the number of age (10), sal number (10));
Table created.
SQL > ALTER TABLE TEST ADD CONSTRAINT PK_TEST PRIMARY KEY (N, FNAME, AGE);
Select
table_name,
RTrim (xmlagg (xmlelement (e, column_name |))) ') .extract ('/ / text()'), ',') COLUMN_NAME
(SELECT ACC. TABLE_NAME, VAC. COLUMN_NAME
OF ALL_CONSTRAINTS ACN, VAC ALL_CONS_COLUMNS
WHERE THE VAC. TABLE_NAME = 'TEST '.
AND ACN. CONSTRAINT_TYPE = 'P '.
AND ACN. CONSTRAINT_NAME = ACC. CONSTRAINT_NAME
AND ACN. OWNER = ACC. OWNER
AND ACN. OWNER = 'VEERA '.
)
Table_name group
/
TABLE_NAME COLUMN_NAME
------------------------------ ----------
TEST N, AGE, FNAME
I have need of NAME of COLUMN must be of the order of position_colonne. [N, FNAME, AGE].
Please tell us how can I get the result. Is this possible using CASE or also DECODE the number of constraints are unknown.
Kind regards
Veera.
Select
table_name,
RTrim (xmlagg (xmlelement (e, column_name |))) ') order of position) .extract ('/ / text()'), ',') COLUMN_NAME
(SELECT ACC. TABLE_NAME, VAC. Column_name, acc.position
OF ALL_CONSTRAINTS ACN, VAC ALL_CONS_COLUMNS
WHERE THE VAC. TABLE_NAME = 'TEST '.
AND ACN. CONSTRAINT_TYPE = 'P '.
AND ACN. CONSTRAINT_NAME = ACC. CONSTRAINT_NAME
AND ACN. OWNER = ACC. OWNER
AND ACN. OWNER = 'VEERA '.
)
Table_name group
/
-
Elevation required to route add command
When you try to add a network route with the "route add" command in the command line, I get the message "the requested operation requires a rise." What is the correct syntax to use?You can watch using the PowerShell...
http://TechNet.Microsoft.com/en-us/library/bb978526.aspx
http://TechNet.Microsoft.com/en-us/scriptcenter/dd742419.aspx
.. .and post questions about Windows PowerShell forum...
http://social.technet.Microsoft.com/forums/en/winserverpowershell/threads
-
Is there a problem with Adobe Reader DC using the command line to open a file?
Hello
I am a developer and we use Adobe Reader to view our PDF help files in our application. For years, we used WinExec() to open Adobe Reader, by specifying the file to open on the command line and it has been working perfectly. In other words, upward until our users began to load Adobe Acrobat Reader DC. Despite this work very well when you type a command using CMD.exe, it simply does not help WinExec() from another application programmatically. Also, I modified the code to try using CreateProcess() or ShellExecute() and these functions do not work either.
It may have to do with the fact that there is a switch or a parameter now within the DC, but I don't know what it is, or why it happens. If anyone can shed some light on this it would be much appreciated because it severely hampers our latest version of the software.
Kind regards
Leigh.
A common cause is not to put quotes on the command line, so instead of
"c:\program files...\acrord32.exe" "c:\documents and settings\...my file.pdf.
You write
"c:\program files...\acrord32.exe" c:\documents and settings\...my file.PDF
This has always been bad, but older versions it would accept anyway. (It was a recent change but not in DC).
I would recommend using ShellExecute instead of the command line, however. That simulates a double-click and executes everything the user has created for PDFs (perhaps Reader, Acrobat maybe, maybe something else).
-
sqlplus connects well with SID on the command line, but not with setora
I can connect to my database using sqlplus if I specify the SID on the command line; However, I get an error if I try to connect after using setora to set the SID. Any ideas on why this is happening?
Oracle version is 10.2.4.0
OS is SunOS 5.9 Generic_122300-46 sun4u sparc SUNW, Sun-Fire-V490
MYDB resides on a host machine that is different from the one where I'm under sqlplus. We'll call this REMOTEHOST machine.
I am sure that MYDB is running on REMOTEHOST
Oracle environment variables:MYUSER@MYHOST% setora MYDB MYUSER@MYHOST% sqlplus MYUSER SQL*Plus: Release 10.2.0.4.0 - Production on Mon Mar 8 09:38:58 2010 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Enter password: ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist SVR4 Error: 2: No such file or directory Enter user-name: ^C^C MYUSER@MYHOST% sqlplus MYUSER@MYDB SQL*Plus: Release 10.2.0.4.0 - Production on Mon Mar 8 09:39:10 2010 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Enter password: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> quit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
TNSNAMES entry:MYUSER@MYHOST% env | grep -i ora PATH=/u01/home/bin:/u01/app/oracle/product/10.2.0/OPatch:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/lib/cobol/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/banvol/uncg/bin:/etc:/usr/openwin/bin:/opt/hsqr/ora/bin:/opt/hsqr/jre/jre141/bin:/u01/app/oracle/product/10.2.0/bin SQRDIR=/opt/hsqr/ora/bin LD_LIBRARY_PATH=/usr/ccs/lib:/opt/lib/cobol/lib:/opt/SUNWspro/lib/v9:/opt/SUNWspro/lib/v9:/opt/SUNWspro/lib:/u01/app/oracle/product/10.2.0/lib:/opt/hsqr/ora/bin:/opt/hsqr/jre/jre141/lib/sparce/native_threads:/opt/hsqr/jre/jre141/lib/sparc/client:/opt/hsqr/jre/jre141/lib/sparc:/u01/app/oracle/product/10.2.0/lib32 ORACLE_BASE=/u01/app/oracle ORABIN=/u01/home/bin OWB_HOME=/u01/app/oracle/product/owb102 ORACLE_SID=MYDB ORACLE_HOME=/u01/app/oracle/product/10.2.0
MYDB = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = REMOTEHOST)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = MYDB.MYDOMAIN.COM) ) )
TWO_TASK = MYDB
Export TWO_TASK -
What a privilege is necessary for the judgment on the command line?
I just finish to manage a bunch of files, something I think is sometimes easier to use a MS-DOS prompt with wildcards with. I wanted to put the computer power off and goto bed. I was connected with my normal user account when I published the shutdown command from the command prompt that I used instead of the mouse. To my surprise, I received this message:
E:\Shared>shutdown s
The operation completed successfully.
A required privilege is not held by the client.I can understand this restriction for remote clients, but not for the users of the console. What privilege or registry setting would I need to activate this command works for all users of the console? It seems stupid when they can just as easily use Start-> turn off computer-> Turn Off power.
I'm also surprised with this if the first time I tried it as a regular user in all these years. I use XP Pro, so I can change the local security policy and the security policy templates.
Can I stop my system with an account standard account standard Windows XP SP3 in command prompt. Was curious when I saw your post. I'm sure you have checked user account rights. You have another user account to test? I would create a user if you have not just to see what happens.
Just found this, shows your exact error trying to shutdown from the command line.
If you have a Windows XP desktop computer and you try to stop your machine from the command-line by typing shutdown-s you might get the following in response to this command result:
The operation completed successfully.
A required privilege is not held by the client. -
Error running webworks create from the command line in Beta 2 of Webworks
Hello
I am creating a project of cordova webworks from the command line. I run the following command:
WebWorks create f:\devroot\NEXT_GEN\MobileApp\WebWorks2\MyApp com.joe.myApp MyApp
However, it fails with the following error message:
{[Error: check incorrect header] errno:-3, code: "Z_DATA_ERROR"}
It seems to me that its attempts to download a tar.gzip drop of github (url below), but this file does not exist:
URL: https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;a=snapshot;h=v2.0.0.54;sf=tgz
So I'm not sure that my project directory is set up correctly. What is contained in this folder which its trying to find in the remote repository and is it relevant to my application?
I can see my project directory in the space provided. It contains the following folders:
".cordova', 'merge', 'platforms', 'plugins' and 'www '.
".cordova" contains a subfolder 'hooks' which, in turn, contains about 24 cases being with 'after' or 'before' (e.g.after_build, before_build), it seems to be empty. It also contains a config.json that contains the attributes id and name of the project. Do any other necessary information in config.json?
All other folders are empty.
Is any other thing missing? should there be a config.xml file created for me in the directory "www" for example?
Just add a config.xml file myself? Y at - it information about the correct structure for the config.xml file in webworks 2.0?
Thank you
Joe
Hey Joe,
So, just to confirm, HOST = "C:\". "and USERPROFILE ="C:\Users\
? This is useful. Normally Windows machines do not have a HOME environment variable.
We must ensure that these files copied to %USERPROFILE%\.cordova\lib\www\cordova\v2.0.0.54
Please try this patch to webworks-cli/lib/utils/utils.js:
findHomePath : function () { return process.env[(process.platform === 'win32') ? 'USERPROFILE' : 'HOME']; },
Maybe you are looking for
-
How to locate where the shared Variables are used in the project.
I'm looking everywhere where a shared Variable is used in my project. Right-clicking does not provide a find. The display hierarchy does not help. In the Project Explorer, the appellants find displays only the names of the screw called, not the many
-
zBook 14: zBook 14 support of resolution 4096 x 2160
Hello. I have a zBook 14 running Windows 8.1 Enterprise, 16 GB Ram, 64-bit, with switchable graphics (Intel HD Graphics 5500 and AMD over-pants M4150). I am interested in Purchasing and hang this laptop to a mointor with the real resolution of 4096
-
Windows 7 slui.exe 0 error 80070003 x
Hello I ran a registry cleaner a week back and my windows 7 registration information has been removed from my pc.I get the non-genuine windows error and when I'm trying to start slui.exe to re - enter the registration code again, I get error 0 x 8007
-
I guess my question is, can you backup the whole c drive on an external drive? I had done it until I installed Windows 8. I'm guessing that it will allow you to do. I just did not understand the procedure in force yet.
-
New wholesale Adobe updates due to end/uninstall Quicktime?
Hi all!Last question, I've had with Lightroom was caused by QuickTime.Now, Apple continues to Quicktime and recommend to uninstall! An urgent call to Action: uninstall QuickTime for Windows today -So what LR without QT?Good day.