Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Can Unix (Solaris) execute a dos .bat script? Post 302086648 by BCarlson on Friday 25th of August 2006 10:46:41 AM
Old 08-25-2006
I didn't think so, but....

was praying that maybe someone got creative and found a way. Thanks for the reply. Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Execute a UNIX script from DOS prompt.

Hello, I m trying to execute a UNIX task from windows, I am copying few csv files from UNIX platform to my windows using a bat file like the txt file is as follows : open 172.21.13.239 root root lcd C:\Documents and Settings\aparna_sharma\Desktop\Trunk_Analysis cd /opt/Trunk_Analysis/... (24 Replies)
Discussion started by: er_aparna
24 Replies

2. Shell Programming and Scripting

execute shell file on DOS prompt

I have installed cygwin on my computer having windows 2003 server as operating system. The following command works fine on DOS console: bash launch_update.sh Is there any way, that i could run the above shell file, just by typing its name on DOS prompt, in the same way as batch files are... (1 Reply)
Discussion started by: mmunir
1 Replies

3. Solaris

how to Implicitly execute some unix commands during/after Solaris reboot

I have to execute 2 commands everytime i reboot my Solaris machine. Simple "share" and "chown" commands. Is there anywhere (maybe a config file or something) where I can include these commands so that I do not have to manually run them everytime I reboot the machine? Any help appreciated... (2 Replies)
Discussion started by: lydiaEd
2 Replies

4. Shell Programming and Scripting

Building a DOS .bat file that will root my Droid 2 phone using adb

1. What I am doing? Building a DOS .bat file that will root my Droid 2 phone using adb commands in the .bat file. (Just for the fun of it and to help me learn "stuff".) 2. Problem: Here are the problem steps to accomplish this task manually in an adb shell: adb shell (Prompt is $) cd... (2 Replies)
Discussion started by: chrstdvd
2 Replies

5. Windows & DOS: Issues & Discussions

Windows remote to Solaris to execute ksh script

Hi all, I'm not sure if it is correct to post here. I am facing problem wanting to create a batch that run from my Windows XP pc to remote to multiple Solaris server to execute the server's ksh script. :wall: Can anyone give me a hints on how to do that? Thanks. (6 Replies)
Discussion started by: beginningDBA
6 Replies

6. Shell Programming and Scripting

Dos batch script to execute unix shell script

Can anyone help me with a dos batch script to execute a shell script residing in an unix server. I am not able to use ssh. Thanks in advance (2 Replies)
Discussion started by: Shri123
2 Replies

7. Solaris

write a script to execute some operations on sun solaris

Sun Microsystems Inc. SunOS 5.9 Generic May 2002 SUNFIRE V240 if there is a power failure, automatically: write all operations in a log file (0 Replies)
Discussion started by: doudou2012
0 Replies

8. Solaris

Need to execute the script with script name wihtout using ./scriptname in Solaris 10

Hi, I am using solaris 10.Is there any way to execute the script with the scriptname wihtoug using ./scriptname?Also does it varies from shell to shell.I have scripts in bash,ksh,sh shells. Example:script.sh is the script name.I need to execute the script like this script.sh instead... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

9. Windows & DOS: Issues & Discussions

DOS bat file to add to path

This may not be the right place, since it is not exactly unix or linux, but it does involve cygwin. I have two cygwin installations. When I start a mintty terminal, I need to toggle a windows path variable to make sure that the correct cygwin dll gets loaded. I need to add C:\cygwin\bin to the... (3 Replies)
Discussion started by: LMHmedchem
3 Replies

10. UNIX for Beginners Questions & Answers

Script to convert dos to UNIX in Solaris

Hi Team, I am trying to implement a script in Solaris, that required to find the list of files inside directories and convert those to dos2unix conversion, Can someone please help here.. Below is the example of scenario.... (1 Reply)
Discussion started by: Logics123
1 Replies
xcb_xkb_get_geometry(3) 					   XCB Requests 					   xcb_xkb_get_geometry(3)

NAME
xcb_xkb_get_geometry - SYNOPSIS
#include <xcb/xkb.h> Request function xcb_xkb_get_geometry_cookie_t xcb_xkb_get_geometry(xcb_connection_t *conn, xcb_xkb_device_spec_t deviceSpec, xcb_atom_t name); Reply datastructure typedef struct xcb_xkb_get_geometry_reply_t { uint8_t response_type; uint8_t deviceID; uint16_t sequence; uint32_t length; xcb_atom_t name; uint8_t found; uint8_t pad0; uint16_t widthMM; uint16_t heightMM; uint16_t nProperties; uint16_t nColors; uint16_t nShapes; uint16_t nSections; uint16_t nDoodads; uint16_t nKeyAliases; uint8_t baseColorNdx; uint8_t labelColorNdx; } xcb_xkb_get_geometry_reply_t; Reply function xcb_xkb_get_geometry_reply_t *xcb_xkb_get_geometry_reply(xcb_connection_t *conn, xcb_xkb_get_geometry_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_xkb_counted_string_16_t *xcb_xkb_get_geometry_label_font (const xcb_xkb_get_geometry_request_t *reply) int xcb_xkb_get_geometry_properties_length(const xcb_xkb_get_geometry_reply_t *reply); xcb_xkb_property_iterator_t xcb_xkb_get_geometry_properties_iterator(const xcb_xkb_get_geometry_reply_t *reply); int xcb_xkb_get_geometry_colors_length(const xcb_xkb_get_geometry_reply_t *reply); xcb_xkb_counted_string_16_iterator_t xcb_xkb_get_geometry_colors_iterator(const xcb_xkb_get_geometry_reply_t *reply); int xcb_xkb_get_geometry_shapes_length(const xcb_xkb_get_geometry_reply_t *reply); xcb_xkb_shape_iterator_t xcb_xkb_get_geometry_shapes_iterator(const xcb_xkb_get_geometry_reply_t *reply); int xcb_xkb_get_geometry_sections_length(const xcb_xkb_get_geometry_reply_t *reply); xcb_xkb_section_iterator_t xcb_xkb_get_geometry_sections_iterator(const xcb_xkb_get_geometry_reply_t *reply); int xcb_xkb_get_geometry_doodads_length(const xcb_xkb_get_geometry_reply_t *reply); xcb_xkb_doodad_iterator_t xcb_xkb_get_geometry_doodads_iterator(const xcb_xkb_get_geometry_reply_t *reply); xcb_xkb_key_alias_t *xcb_xkb_get_geometry_key_aliases(const xcb_xkb_get_geometry_request_t *reply); int xcb_xkb_get_geometry_key_aliases_length(const xcb_xkb_get_geometry_reply_t *reply); xcb_xkb_key_alias_iterator_t xcb_xkb_get_geometry_key_aliases_iterator(const xcb_xkb_get_geometry_reply_t *reply); REQUEST ARGUMENTS
conn The XCB connection to X11. deviceSpec TODO: NOT YET DOCUMENTED. name TODO: NOT YET DOCUMENTED. REPLY FIELDS
response_type The type of this reply, in this case XCB_XKB_GET_GEOMETRY. This field is also present in the xcb_generic_reply_t and can be used to tell replies apart from each other. sequence The sequence number of the last request processed by the X11 server. length The length of the reply, in words (a word is 4 bytes). deviceID TODO: NOT YET DOCUMENTED. name TODO: NOT YET DOCUMENTED. found TODO: NOT YET DOCUMENTED. widthMM TODO: NOT YET DOCUMENTED. heightMM TODO: NOT YET DOCUMENTED. nProperties TODO: NOT YET DOCUMENTED. nColors TODO: NOT YET DOCUMENTED. nShapes TODO: NOT YET DOCUMENTED. nSections TODO: NOT YET DOCUMENTED. nDoodads TODO: NOT YET DOCUMENTED. nKeyAliases TODO: NOT YET DOCUMENTED. baseColorNdx TODO: NOT YET DOCUMENTED. labelColorNdx TODO: NOT YET DOCUMENTED. DESCRIPTION
RETURN VALUE
Returns an xcb_xkb_get_geometry_cookie_t. Errors have to be handled when calling the reply function xcb_xkb_get_geometry_reply. If you want to handle errors in the event loop instead, use xcb_xkb_get_geometry_unchecked. See xcb-requests(3) for details. ERRORS
This request does never generate any errors. SEE ALSO
AUTHOR
Generated from xkb.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_xkb_get_geometry(3)
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy