CREATING TUTORIALS PAGES USING CMD.EXE AS THE VIEWER.
Hello all.
I apologize in advance if this question comes off as ignorant to any of you but, I'm pretty new at scripting..,
having a lot of fun with it so i'm barreling ahead!
I've been combining all the hundreds of tutorials text files that I have been gathering over time, trying to get them in order
and finally create something like html help pages yet using the command line as the viewer. this would be exactly like what one would see after entering "/?". the help section of someones exe program. my problem is I do not know how or what to
place in the tutorial.cmd script in order for command line to display the pages one window at a time automatically so that the viewer/user does not have to enter the " | more " command, he/she is then only required to tap a key to go onto the next
portion of the pages.
Any help is appreciated thank you!
Try "more"
At a prompt type "more /?"
¯\_(ツ)_/¯
Similar Messages
-
Environment:
OS: Windows 7 32/64 bit, Windows 2008 Server 64
bit/ Windows 2012 Server 64 bit
Priority:
- Critical
Requirement: - Since
the Windows Service is running under the Local System Account, we would like to emulate this same behaviour.
Basically, we would like to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a service using following
command
net use z: \\servername\sharedfolder /persistent:yes.
Already Attempt:
We tried to launch the CMD.exe using the DOS Task Scheduler AT command. Here’s a sample command:
AT 10:36 /interactive cmd.exe
But I received a warning that “due
to security enhancements, this task will run at the time excepted but not interactively.”
It turns out that this approach will work for XP, 2000 and Server 2003 but due to session isolation
Interactive services no longer work on Windows 7, Windows Server 2008 and above.
2. We
tried to create a secondary Windows Service via the Service Control (sc.exe) which merely launches CMD.exe.
<Drive>:\sc create RunCMDAsLSA binpath= "cmd" type=own type=interact <Drive>:\sc
start RunCMDAsLSA
In this case the service fails to start and results it the following error message:
FAILED 1053: The service did not respond to the start or control request in a timely fashion.
3. One
suggestion, we found to launch CMD.exe via a Scheduled Task, but
it is not giving any option to launch CMD.exe in interactive mode; so that I can map network drive using net command.
4. I read an article, which
demonstrates the use of PSTools from SysInternals. I launched the command line and executed following command
psexec -i -s cmd.exe
PSTools worked fine, but It seems that in scope of Sysinternals Software License
Terms. You may not "use the software for commercial software hosting services."
Application will deploy on client, which will be like commercial,
so we are not able to use PSTools.
Kindly assist us for achieving the requirement. We have tried all the ways, but nothing is working for us. Kindly suggest.
I will be really thankful.Hi Sir,
Nothing worked from above for us. You can see our remarks on posted query.
That’s why, we posted on forum.
And there will not be any vulnerability, because, if we will use "net
use ..."
in network domain; definitely,
we will provide username and password of mapped drive system.
And, that system, itself is given by client; so that, there must not be any vulnerability; they are ready to provide user name and password.
We need a way; by which we can complete the requirement. Kindly assist.
Regards,
S. P. Singh -
I am trying to create mobile pages using the steps file>new>new document>page from sample>mobile starters>jquery mobile (cdn). When "page from sample" is selected, the subsequent options are not available. This seems like a silly question, but how do I acquire these options?
You can get the latest jQuery Mobile Themes directly from jQuery Mobile's web site.
https://demos.jquerymobile.com/1.1.0/docs/api/themes.html
Or roll your own with ThemeRoller
http://themeroller.jquerymobile.com/
Nancy O. -
Can anyone help me in creating Tab Pages using JSP ?
in JDeveloper 3.1 or greater version
you have JSP Element wizard
on riht click on mouse you choise JSP Element wizard
end JSTabContainer
or you write folowing code(example):
<jsp:useBean class="oracle.jdeveloper.jsp.wb.JSTabContainer" id="tbc" scope="request" >
<%
tbc.setName("tbc");
tbc.setTitle("Dr`avi");
tbc.setHelpText("Drzavi");
tbc.setUseModalPage(true);
tbc.setInitialTab(1);
tbc.setTopFrameURL("DrzaviView_Top.jsp?tc=tbc");
tbc.setBottomFrameURL("ViewBottom.jsp?tc=tbc");
tbc.initialize(pageContext);
tbc.addTab("Tab1", "DR@AVA", "DrzaviView displayed using the Row Viewer", "", "DrzaviView_RowViewer.jsp", true, true, false, null);
tbc.addTab("Tab2", "DR@AVI", "DrzaviView displayed using the Rowset Browser", "", "DrzaviView_Browse.jsp", true, true, false, null);
tbc.render();
%>
</jsp:useBean> -
Create login page using jsp, servlet & Oracle
hi,
i need the sample application for creating login page using jsp, servlet & Oracle,can you please post one sample application.
thanks
sonaSee
http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfstrutsj2eesec.pdf
Frank -
I just burned to disc an album of photos I created in Pages but I cannot open the file on the disc because "the format is not valid". What does this mean and how do I correct it ?
There are numerous thread about the same matter in this forum
I hope you'll find your answer
https://discussions.apple.com/search.jspa?resultTypes=&dateRange=all&peopleEnabl ed=true&q=the+format+is+not+valid&containerType=14&container=2084&username=&rank By=relevance&numResults=15 -
unable to install photoshop elements v10 on a windows 7, ultimate 64bit computer, get:
error msg = pls. install/uninstall the product using setup.exe in the root folderyes, I am installing as the administrator. I have tried to install from
two different folders;
1. c://adobe photoshop elements 10.msi
and
2. c://program files/adobe/adobe photoshop elements 10.msi
get the same error message from both locations.
the error message is not specific as to "root folder"
someone please help with this. I would like to be able to install this app. -
Is there any way to delete a page listing on the top of the IWeb site. I created a page which has links to the other pages, so I don't need all of them listed on top...
Better ask in the iWeb forum.
Answer : inspector > first icon from the left > uncheck 'Display navigation menu'
For future reference, also look at the other icons. -
Why can't I create a response to an email from the Viewer window?
Why can't I create a response to an email from the Viewer window?
When I select an email to respond to in the viewer window and click on the respond arrow that appears just under the header, a new response email opens for a split second then disappears.
I have to actually click on and open the email message in its own screen to be able to then click on the respond arrow and succeed in having Mail open a response email that I can edit - one that remains open.
This seems to be a bug that we need to have squashed.
SteveDo I have to connect the iPad to a computer to make this work? Is the fact that I used another email address to set up my Apple ID years ago causing the problem? A friend of mine just got a new iPod and he was able to set up a me.com account. I am feeling rather stupid. Hope someone here can help.
-
Hi, I thoroughly enjoy the ipage program and prefer it to the similar one offered by Word. But my web manager is having countless difficulties. I converted everything to PDF's for him but several of the ipages are loading with a different backround color. He says he has to meta tag each page since this cannot happen automatically. On my Mac, the pages are loading after the navigation bar is selected, and it takes about three to four seconds. On my iphone, however, each page takes at least eight seconds to load and then it slides right off the screen before it can be read. I really want to continue using ipages to update my website but I am a rookie and do not understand why each ipage cannot simply open when someone goes to my website. It would be great to do away with the loading of each page and I would like to also minimize any of my margins. Thanks for any help on this strange matter. Mary
Converting pages to pdf is not the usual way make a website. You may want to try some other app where you can directly create the html which is the customary format for the web.
-
Hi everyone, : )
I am creating a website using FGL in DW CS6, v12.0 build 5808. I do not have Creative Cloud (do you have to pay to use this service?).
I have created one layout for my home page.
I would like to create several more pages, but I want them to use different layouts (as well as different content).
I tried to do something similar before using 'save as' (this was with a non-FGL), but whenever I changed the original page that I had 'save as'd' from, the layout in all the other pages would change too!
I found a possibility from someone else online suggesting using a template, but have not tried it yet: http://www.linkedin.com/groups/Adding-second-fluid-page-in-119937.S.192422240
I'm a bit scared of breaking everything, as I am new to web design and have had to restart the whole process a few times due to messing up the fluid.css etc and other issues, so I am taking baby steps.
Happy to try whatever's suggested and, while I wait for (I hope) your responses, I think I will try the template thing, but from the reply the person who asked the question gave, it sounds like his subsequent pages changed too, as I mentioned above? *scared* ; )
If anyone can help me with this query I would be very grateful. Thank you! : )Thanks David.
I tried using different IDs for the other pages, but eventually one of the divs seems to 'break' - it overlaps other divs, or cannot be moved or resized (you can select the outline and it goes blue, but no 'move up a row' or down a row or 'lock to grid' etc icons appear and it can't be drag-re-sized), plus the green overlay disappears (just from that div. I'm aware of how to turn visual aids on and off), so it seems broken. This often seems to happen if you rename a div once it's been created; it does not rename in the layout.css on the right side panel (CSS Styles) in DW and the 'broken' behaviour above is exhibited. Do you know anything about this? Is this the 'edit this doc at your peril' stuff that most tutorials seem to mention? Am I doing something wrong?
I also tried making an FGL and saving out the original boilerplate.css, layout.css and respond.js. Then created multiple new FGLs and each time it created new versions of layout.css (called 'untitled-1', 2 etc.). Once I had created all the FGLs, I deleted all the new boilerplates and untitled.css files. Then restored the original ones and changed the link at the top of each page's html to refer to the same filename (the original layout.css), rather than untitled.css. I thought this might work and it seemed to for a while, but then as I had to add new div names for the sections on each page, it eventually broke (as above).
Anyway, I think you have a good point about different layouts and it occurred to me also while I was exploring and waiting for replies here. I think I will make one layout for all pages and go with that. I have a couple of questions about that though:
1. I think the max number of divs I want for one of the pages is 10, but some pages need less divs. If I only fill e.g. 8 divs on one page, will the other ones be sat there empty? I think they will actually...I guess I'm asking because I have not tried it yet (will do after this) and it takes so long to do this trial and error.
2. If the amount of content in each div is different, e.g. let's say Page 1 has 6 lines of content in div1, but page 2 may have an unlimited amount of content (I will want to add to it in the future). Will this result in the div on page 1 being a huge block of empty space after its 6 lines?
Thanks so much for your help! -
Problems using cmd.exe in a script
What I'm trying to do is this. I have this program called
zoomify.exe on the server. (check out zoomify.com, its a cool image
magnification program). What I want to do is run a command like
this in cmd.exe:
D:\zoomify.exe D:\temp\image.jpg
If I was to run this inthe command prompt window on the
server it would create a folder within D:\temp named "Image" with
all the output files from the zoomify.exe. The program also works
so that if you drag and drop an image onto the exe in windows
explorer it does the same thing.
So I have this custom tag cfx_exec on the server and I have
it pull up a command prompt, enter in the parameters including
chr(13) and chr(10) to simulate hitting enter and then I throw
"Exit" at it as well to close the command prompt window. It acts as
though it runs no problem but it never actually creates the new
folder and image collection.
I know it is not a permission thing, coldfusion is run under
the domain administrator account and has full permission to execute
things like this. For example I use the same custom tag to run NET
USER commands to change active directory passwords and things of
this nature.
Can anyone suggest what I may be doing wrong here?Figured it out...it was in the syntax...had to use single quotes around table and field names. Don't use Access much...Live and Learn Baby!
-
Creating a Pages Newsletter and embedding into the body of an email???
I have created a newsletter that I want to send to my clients via email, but I do not know if that is possible. I don't want to send it as an attachment, because some people will not even open it. Is there a way I can embed my flyer into the email body so right when people open the message it's there?
The only way to do what you are asking about is to create an html email. This is possible and assuming you are using Leopard, you can use Mail to do this. Start a new email and select the Stationary button that by default is on the right corner of the new email message window.
Pages cannot be used to create html code and the only way to use Pages to create your newsletter would be to create a PDF and attach it. The other possible option would be to send your email with a link to a webpage. You could experiment with using the Share to iWeb function and see if this could work for you. (Since I swore off - not to mention at - iWeb some time ago I don't know how well this would work.) -
How to create multiple pages using flex application.
Hi all,
i am doing flex application which contains 5 different
pages,
to do this i have used viewstack component to navigate
between the pages.
this is working fine if all my pages are of same size. each
page as different background image.
but i have to create pages with different sizes.
my first and second page are small and remaining pages are
big.
when i navigate to 3rd or 4th page, it is showing scrollbar
inside swf.
but i want scrollbar for browser window not inside my swf
anyone please guide me how to create pages in flex
application.
i have one more doubt, if my page contains some html links ,
how to open those links,
is it posible to open the link in new window.
please help me , i have no idea how to create web
applications using flex
Thanks in advance
regards
avanthikaHi inlineblue,
Thanks for your reply,
you asked about sample code,
following is my sample code.
In my Application mxml file, i am loading all custom
components for each page.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns="*"
horizontalAlign="center" verticalAlign="top"
styleName="plain"
backgroundColor="#FFFFFF"
creationComplete="init()" width="780" height="594" >
<mx:Script>
<![CDATA[
//navigating to next page
public function showNextStep(newIndx:int):void{
vs.selectedIndex=newIndx;
//navigating to previous page
public function showPreviousStep(newIndx):void{
vs.selectedIndex=newIndx
]]>
</mx:Script>
<mx:ViewStack id="vs" paddingLeft="0" height="100%"
width="100%" >
<mx:Canvas id="s1" label="step1"
backgroundImage="assets/Step1.jpg" >
<!-- Step1.jpg image size is width=778, height=560 -->
<mx:HBox paddingLeft="8" width="780" height="548">
</mx:HBox>
<mx:Button alpha="0" buttonMode="true" x="697" y="18"
click="showNextStep(1)" width="72" height="24" />
<mx:Button alpha="0" buttonMode="true" x="697" y="508"
width="72" click="showNextStep(1)" height="24"/>
</mx:Canvas>
<step2 id="s2" label="Step2" hideEffect="{blurImage}"
showEffect="{unblurImage}" />
<step3 id="s3" label="Step3" hideEffect="{blurImage}"
showEffect="{unblurImage}" />
<step4 id="s4" label="Step4" hideEffect="{blurImage}"
showEffect="{unblurImage}" />
<step5 id="s5" label="Step5" hideEffect="{blurImage}"
showEffect="{unblurImage}" />
</mx:ViewStack>
</mx:Application>
// following is the page2 (step2) component code
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="init()"
backgroundImage="assets/Step2.jpg" width="778" height="600"
>
<!-- Step2.jpg image size is width=778, height=600 -->
<mx:HBox horizontalAlign="left" paddingLeft="5"
height="511" width="768">
</mx:HBox>
<mx:Button alpha="0" buttonMode="true" x="648" y="6"
click="this.parentApplication.showPreviousStep(0)" width="61"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="711" y="6"
click="this.parentApplication.showNextStep(2)" width="53"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="651" y="529"
width="58" click="this.parentApplication.showPreviousStep(0)"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="712" y="528"
width="54" click="this.parentApplication.showNextStep(2)"
height="24"/>
</mx:Canvas>
// following is the code for page3 (step3) component
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="init()"
backgroundImage="assets/Step3.jpg" >
<!-- Step3.jpg image size is width=778, height=660 -->
<mx:VBox width="763" height="668">
</mx:VBox>
<mx:Button alpha="0" buttonMode="true" x="644" y="10"
click="this.parentApplication.showPreviousStep(1)" width="61"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="708" y="10"
click="this.parentApplication.showNextStep(3)" width="53"
height="24"/>
<mx:Button alpha="0" buttonMode="true" label="Back"
x="625" y="590" width="58"
click="this.parentApplication.showPreviousStep(1)" height="24"/>
<mx:Button alpha="0" buttonMode="true" x="694" y="590"
width="68" click="this.parentApplication.showNextStep(3)"
height="24"/>
</mx:Canvas>
// following is code for page4 (step 4),
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="init()"
backgroundImage="assets/Step4.jpg" >
<!-- Step4.jpg image size is width=778, height=773 -->
<mx:VBox width="762" height="792">
<!-- User interface -->
</mx:VBox>
<mx:Button alpha="0" buttonMode="true" x="644" y="15"
click="this.parentApplication.showPreviousStep(2)" width="61"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="708" y="16"
click="this.parentApplication.showNextStep(4)" width="53"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="644" y="710"
width="58" click="this.parentApplication.showPreviousStep(2)"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="703" y="710"
width="54" click="this.parentApplication.showNextStep(4)"
height="24"/>
</mx:Canvas>
// Following is code for Page 5 (step 5 ) component.
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="init()"
backgroundImage="assets/Step5.jpg" width="778"
height="600">
<!-- Step5.jpg image size is width=778, height=539-->
<mx:VBox paddingLeft="170" paddingTop="170" width="778"
height="522">
</mx:VBox>
<mx:Button alpha="0" buttonMode="true" x="654" y="41"
click="this.parentApplication.showPreviousStep(3)" width="72"
height="24"/>
<mx:Button alpha="0" buttonMode="true" x="654" y="486"
width="72" click="this.parentApplication.showPreviousStep(3)"
height="24"/>
</mx:Canvas>
I am getting vertical scrollbar for page3 and page4,
please tell me how to avoid this, Is their any other method
to do this.
Following is the link for my above code
http://www.emantras.com/flexdemo/sample.html
in this application one more problem is also their,
background image loads very slow, before it loads all the flex
components will load. So when you open this please wait till
background image loaded, to move to next and back pages.
Thanks for your time and consideration.
Regards
Avanthika -
How to create login page using OAF
Hi,
I am using Jdeveloper 11.1.1.6.0
Plese give me Sample Code creating the log in page .
Thanks
RamHi,
here i am using the webcenter application using the adf faces need secured login page using the OAM.
Thanks
Ram
Maybe you are looking for
-
My iPod 5 is not recognized by iTunes.
I have a laptop that I have synced multiple ipod 5s to including my own and siblings and recently my ipod stopped being recognized by itunes. I have gotten new music and want to back my ipod up but it wont show up when I plug it in. My ipod has the I
-
How to start of with Oracle HCM fusion applications to gain good grasp on the technology
I have been working in Siebel for a long time and I am currently moving to Oracle Fusion HCM application.I would like to know the best way to start up with it and I would also like to know the possible way to go about it so that having 7years of expe
-
Crash on Save, Illustrator CS4
Every time I save an Illustrator file (CS4), it crashes; no matter how slight the modification. If I Save As..., it works fine. Happens with numerous files. Am using MacOSX 10.5.5 on a MacBookPro w/ 2Gb RAM. All other programs working fine (including
-
Infinity installed an hour ago - only 2mb showing ...
Infinity was installed an hour or so ago. I've gone to do a check on speedtester.net and thinkbroadband.com Both are showing my speed as 2mb - I'm connected via a gigabit LAN. Perhaps some odd throttling going on - I've not downloaded anything yet !
-
How do you keep Firefox Sync connected?
Firefox Sync says, "Be sure to leave Firefox Sync connected so your data will automatically sync every day," but there are no instructions on how to stay connected. There is no explanation as to how you would become "unconnected" so I don't know what