World: r3wp
[!REBOL3]
older newer | first last |
Steeve 29-Jan-2010 [282] | I don't know how to pass args to the cmd.exe I tried this call {cmd.exe "start textpad"} |
BrianH 29-Jan-2010 [283] | call "cmd.exe start textpad" |
Steeve 29-Jan-2010 [284x2] | FAIL |
do nothing except starting cmd | |
BrianH 29-Jan-2010 [286x2] | Go to the dos prompt, type in cmd /? |
If the results of that are to complex for you, call Textpad directly. | |
Graham 29-Jan-2010 [288x2] | call "notepad.exe" works for me |
don't have textpad ... | |
Steeve 29-Jan-2010 [290x2] | Jeez i wasted my time to develop a script to launch remote commands from an AS400 on my PC using FTP. And I fail on the finish line because CALL don't do the last easy part of the job. T_T |
Yes Graham it works with notepad.exe, something missing with textpad | |
BrianH 29-Jan-2010 [292] | Yes it does, you just need to look at cmd /? and start /? instructions if you are going to use those rather than calling Textpad directly. |
Steeve 29-Jan-2010 [293] | I probably have to pass the whole path of the app |
BrianH 29-Jan-2010 [294x3] | Yup. |
call {"C:\Program Files\Textpad\textpad.exe" file-to-open} | |
Or something like that - I use a different text editor. | |
Steeve 29-Jan-2010 [297] | Ok it works, thanks Guys |
Graham 29-Jan-2010 [298x2] | you can call a batch script .. |
so you're using a AS400 to remote control your PC?? | |
Steeve 29-Jan-2010 [300x2] | So now, i can launch remote commands from the AS400 of my company, Great |
a little strange to use ftp to do that, but it's the only protocol allowed here :-) | |
Graham 29-Jan-2010 [302] | lucky it's not sftp ! |
Steeve 29-Jan-2010 [303x5] | yup |
Ahaha i saw some admin sniffed the packets i sen, because someone tried to use my service | |
* I sent | |
Damn Admins | |
Nothing to do but monitor the developers | |
Graham 29-Jan-2010 [308] | LOL |
Brock 30-Jan-2010 [309] | the reason Notepad works with a direct call is that it is in the system path in windows. Textpad would not, but the path could be added, then you wouldn't need the direct path to it. |
Steeve 30-Jan-2010 [310] | but when i start a console, "start textpad" works. So, the default console has the path of the installed apps in his env. |
BrianH 30-Jan-2010 [311x2] | That's because start references the app paths setting under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths. |
Not all programs register themselves there though. The run menu references it too. | |
Paul 30-Jan-2010 [313] | Where can I find the most up to date port information for R3? |
Graham 30-Jan-2010 [314x2] | devbase .... aka the wiki |
or ... even more uptodate .. ask Carl | |
BrianH 30-Jan-2010 [316x2] | DocBase is the wiki; DevBase is accessed through chat. |
It could be worse: We originally referred to the proposed bug tracking system as BugBase, before we used CureCode. | |
Graham 30-Jan-2010 [318] | I think I'm going to refer to them from now on as, chat and wiki ...! |
BrianH 30-Jan-2010 [319x2] | As long as you refer to the manual as a "manual" even if it is technically a wiki too, that will work. |
I only make the distinction between chat and DevBase for technical reasons. | |
Graham 30-Jan-2010 [321] | I think we should factor them .. and remove the redundant 'Base ... |
BrianH 30-Jan-2010 [322] | That would turn them into generic terms, rather than the formal names for specific things that they are now. |
Paul 30-Jan-2010 [323x2] | As you can see the TRETBASE group has really been picking up - this is because I'm busy porting the older Tretbase DBMS to R3 and finding problems along the way so I'm going to post some of the problem here to see if anyone else is seeing the same. |
try a rejoin using two binary values. | |
Ashley 30-Jan-2010 [325] | Looks like a problem with append: append "" ["a"] append #{00} [#{01}] Note that join works (as it's not appending a block). |
BrianH 30-Jan-2010 [326] | Already posted a ticket about that today. |
Ashley 30-Jan-2010 [327] | Are modules working correctly? >> system/version == 2.100.96.2.5 >> import http://www.rebol.it/power-mezz/mezz/form-error.r >> source form-error form-error undefined Also, are the Imports and Globals fields (as used in Gab's Power Mezz) supported? ... http://www.rebol.com/r3/docs/concepts/modules-defining.html#section-3 |
BrianH 30-Jan-2010 [328] | Gabriele's modules aren't compatible with R3 modules, and the Power Mezz package is for R2 (so far). |
Ashley 30-Jan-2010 [329x2] | Looks like just the Name field is missing ... missed that. |
What's the easiest way (under R3) to write code like this: f: make function! [[][ cols: [c1 c2] data: [2 4] cmd: [c1 + c2] set cols data do cmd ] without adding words to the global context? (and not predefining c1, c2, etc). | |
BrianH 30-Jan-2010 [331] | Use FUNCT to define the function and use cols: [c1: c2:]. |
older newer | first last |