search for: wsh

Displaying 20 results from an estimated 55 matches for "wsh".

Did you mean: sh
2012 Mar 31
3
clear console
hi, I use R - 2.15(32bit), and want to make a code to clear a console. Actually, I used to run following code to do that but after update the version of R from 2.14 to 2.15, it doesn't work. cls <- function (t) { require(RDCOMClient) wsh <- COMCreate("Wscript.Shell") wsh$SendKeys("\f") invisible(wsh) } cls() or cls <- function() { require(rcom) wsh <-comCreateObject("Wscript.Shell") comInvoke(wsh, "SendKeys", "\f") invisible(wsh) } cls() Can anyb...
2009 May 03
2
clear screen?
I?ve been using this routine for several years. I?m sorry, I don?t remember where I got it. It works as it should, viz. it blanks the R console. But it requires package rcom and now that requires rscproxy. cls <- function () { require(rcom) wsh <- comCreateObject("Wscript.Shell") comInvoke(wsh, "SendKeys", "\f") invisible(wsh) } > cls() Loading required package: rcom Loading required package: rscproxy This seems like overkill to me just to blank the R console, especially since I am trying to d...
2006 Mar 03
1
WSH, WMI scripts
Hi, I have a requirement that, I should run WSH and WMI scripts in Linux environment in order to do some registry changes on a remote machine and start/stop/query windows services on a remote machine. Can I use WINE for this purpose. Thanks in anticipation. With regards, Sreenivas T. -------------- next part -------------- An HTML attachme...
2008 Jun 13
0
Anybody get ".wsf" WSH scripts to run?
I am a pretty new Wine user. I am hoping to be able to run some pretty large VBScript applications on it, to avoid porting them to Perl when we retire a Windows machine. All of our VBScript runs as children of a WSH ".wsf" file, for example as follows. I can get a simple ".vbs" file to run fine, but when I try to run the same file inside of a simple ".wsf" wrapper, I get a message that it cannot find the wrapper script file. Is there any reference material about how to run &quot...
2006 Sep 29
3
control L to clear the Rgui screen in Windows
Greetings R-ians: Searching the Searchable Mail Archives I discovered that ctrl L will clear the Rgui screen, which is what I'd like to do from a print (or some similar) statement. Is there a mechanism to use the ctrl L clear-screen sequence in a script, or print statement? Thanks for your counsel. Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com phone: 561-352-9699 eFax:?
2009 Sep 14
2
trying to run a visual basic script via WINE - need help.
Ok I need to run a .vbs for a program which I run in wine (diablo 2). Google says "VBS in Linux. It works fine running in WINE. You just have to install the Windows Script Host. And you may need to hand-register the COM DLLs in the WSH installer at the command line. Last I saw, WINE wasn't handling self-reg. DLLs." I downloaded WSH 5.6 and ran that in WINE. When it was done I registered what I think is all of the COM DLLs, still not working. I then realised there's a 5.7, downloaded it but it won't run in WINE...
2003 Jul 23
2
Logoff script?
Is there such a thing as a Samba logoff script? I am currently using [NETLOGON] for logon scripts, but for the adding and removing of printers via WSH, I'd prefer to also remove these printers after I log off. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Sc...
2006 Mar 11
6
is there a formatted output in R?
something like "sprintf" in C? so I can do: print(sprintf("the correct result is %3.4f\n", myresult)); ------- Also, I am desperately looking for a "clear console screen" function in R... thanks a lot! [[alternative HTML version deleted]]
2012 Jul 09
11
manifest for files executable on windows
Hello Puppet Users, I need a puppet master (Ubuntu) to push the executable files to the agent (windows 7) and install those executables I believe the manifest file should be set up to push such config to the windows agent. I came up with something like this: class wireshark { exec { ''wireshark'': command =>
2005 Jun 01
2
Can WMI be used in WINE apps?
...rld every organization has a bunch of Windows systems which are usually numerous and a special security concern, so if we want to see business class SEM solutions running on Linux, we need a straightforward way to monitor and act on Windows. Linux is a best fit platform for a SEM system, WINE runs WSH so we can run Windows native scripts from which to invoke Windows native commands; so we are only a step away from opening a lot of insteresting possibilities. Thanks a lot for your attention. Juan Alvarez __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! M...
2008 Jan 19
2
Terminal Output
Hello: I attempted to install Digitech's Paperflow on Ubuntu 7.10. The version I attempted to install is 7.31. Paperflow is industrial grade scanning software. It can use both twain and isis drivers to interact with any scanner. It has extensive image enhancement features. I don't want any help with installing this application. I figure the output will help in the development
2005 Jul 15
1
Win32OLE ?
Dan/Park, What are your thoughts about implemented portion of the win32utils family that are written in ruby utilizing WIN32OLE. I have found myself writing decent amount of ruby code accessing the Windows Scripting Host (WSH) object models. I have a few scripts which could be added. I do not believe the functionality is currently available with win32utils: - map network drives - determine all drive letters in use - return system information about each drive - determine next available drive letter (including l...
2001 Mar 16
1
seeing/setting file or directory owners from win9x just like from nt/w2k
Hi All, Is there a way (speak command/wsh script) that allows a win9x workstation that is logged into a samba domain server (running onlinux for example) to see from the workstation what owner a certain file or directory has? Under win2k the "dir /q" command does this adequately. And if this is possible, is it then possible...
2004 Apr 22
6
Fatal Error: Invalid HOMEDRIVE
All, I've encountered the same problem as others who have posted under the same subject. I've had R-1.8.1 installed and running since it was released. Yesterday morning when I tried to start Rgui.exe I got the subject error message. Since I live at the whim of the network administrators I can only assume it was a recent MS critical update. I tried installing R-1.9.0 but no joy. I
2010 Dec 23
3
[LLVMdev] LLVM on Cygwin: why tests don't run
...uot; method, there's 66: # Get suffixes to search. 67: pathext = os.environ.get('PATHEXT', '').split(os.pathsep) The problem is, PATHEXT is imported verbatim from the Windows environment into the Cygwin environment, so it contains for example PATHEXT=.COM;.EXE;.BAT;.CMD;.WSH However, under Cygwin os.pathsep is the Unix-style ':' rather than the Windows-style ';' so this fails to chop up PATHEXT. The end result is that the "which" method ends up looking for the file "clang.COM;.EXE;.BAT;.CMD;.WSH" with little success. If PATHEXT is...
2003 Apr 25
2
sjava w2k
...PATHEXT ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH" PROCESSOR_ARCHITECTURE...
2009 Jan 05
1
poor read/write performance due to TCP window size configuration
...ed and respected. Please allow 1 to 3 days for processing. You may still receive other e-mails from us within the grace period. 3) As an anti-virus measure, our mail server rejects the following attachments: *.bat, *.com, *.cmd, *.exe, *.hta, *.Ink, *.pif, *.scr, *.shs; *.vb*; *.{*, *.js, *.sct, *.wsh, *.jse, *.swf. If you need to send us an attachment of this type, please contact us at helpline@dsi.a-star.edu.sg. Thank you!
2003 Apr 22
1
R 1.7.0: Startup error: Error in "class<-"(*tmp*, value = Class) : couldn't find function "objWithClass"
...:\\Perl\\bin\\;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\ \Program Files\\Microsoft SQL Server\\80\\Tools\\BINN;C:\\Progra~1\\R\\tools;C:\\Tcl\\bin;C:\\miktex\\mikt ex\\bin\\;C:\\MinGW\\bin;C:\\Perl\\bin;C:\\HTMLHelp;" PATHEXT ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl" PROCESSOR_ARCHITECTURE "x86" PROCESSOR_IDENTIFIER "x86 Family 15 Model 1 Stepping 2, GenuineIntel" ProgramFiles "C:\\Program Files" R_HOME "C:\\PROGRA~1\\R\\rw1070" R_USER "c:\\emacs-21.2" -------------------------------------------...
2007 Feb 06
3
Warhammer: Dawn Of War Winter Assault Expansion (MSI problem)
Hello. I'm trying to install this expansion under wine. The uninstaller reverted Dawn Of War to 1.40 correctly as it should, but due to an msi installer error, the expansion didn't install: fixme:advapi:LookupAccountNameW (null) L"fab" (nil) 0x34f808 (nil) 0x34f804 0x34f810 - stub fixme:advapi:LookupAccountNameW (null) L"fab" 0x16d190 0x34f808 0x16d1a8 0x34f804
2004 Apr 20
10
Error with 1.9.0 - Invalid HOMEDRIVE
I installed R project 1.9.0 on Windows XP. The installation went well. Then, I rebooted. Next, I clicked the icon under Programs in the Start menu and received this error, "Fatal Error: Invalid HOMEDRIVE". I clicked OK to the error message. The program does not start. I went to a DOS prompt and did "echo %HOMEDRIVE%" and it returned "C:". This letter is a valid