Questions tagged [sc]

SC is a curses-based Spreadsheet Calculator.

sc is a command-line spreadsheet application.

11 questions
5
votes
0 answers

Vim-like command-line spreadsheet SC - How do you deal with the lack of Undo feature?

I'm looking for a command-line spreadsheet and so far sc is my best find (I explain why at the end of this message). But the lack of Undo feature is killing me. How do you deal with the lack of this vital missing feature? Right now, when I make a…
mascip
  • 1,347
  • 1
  • 14
  • 16
1
vote
3 answers

Powershell script replace sc config

Good Day, i look for a same command as sc config BITS type= own in Powershell. I think ist with set-service -name BITS -computername server1234 -idon´t know I have the problem that my INVOKE-COMMAND don´t work. But all scripts work only this line…
Jan Kraemer
  • 21
  • 1
  • 5
1
vote
1 answer

sc: spreadsheet calculator, execute with a script

Suppose I have a bunch of "homegeneous" sc-files, and I need to execute one specific sequence of commands in each of them. Essentially, I need this: for f in `ls *.sc`; do sc $f ; done In , I would like to supply a…
Ilonpilaaja
  • 1,169
  • 2
  • 15
  • 26
1
vote
0 answers

Vigenere Cypher - Code is not working as I expect

I'm trying to figure out why my code is not iterating correctly on z. I would like to iterate every 1 z, but it seems like it's a bit random. Does anyone have any suggestions on how I might do this? If there anything else I'm doing wrong, please let…
QMan5
  • 713
  • 1
  • 4
  • 20
1
vote
0 answers

how can i get sparkcontext in mapwithstate or others class

i use cdh hbase-spark to read data from hbase in mapwithstate but i can't get hbasecontext,because hbasecontext need sparkcontext and i can't get it in mapwith state. code in main val snapState = jsonO.map(x => (x.get("liveId").toString,…
Echo
  • 35
  • 1
  • 7
0
votes
1 answer

c# nullable DateTime within script

I have written a little bit of code, but while trying to add a date with "null" as a resultset from a database, I get an error, that null is not date / time. So it seems, I have an error with the following code snippet... My question is: how to set…
Christian
  • 13
  • 4
0
votes
0 answers

How can i declare and define shared variables between header file in C?

I have three source file called supermercato.c cliente.c cassiere.c and the following header file cliente.h cassiere.h. supermercato.c is where is main(). In supermercato() there I create two thread which are located in the other two source files…
Dylan Nico
  • 39
  • 8
0
votes
2 answers

How can i execute sc create command through exec os/exec?

How can i execute my sc command through exec.Command? Code: cmd := exec.Command("cmd.exe", "sc", "create", "Simpler", "binpath="+os.Getenv("APPDATA")+"\\Simpler\\cc.exe", "displayname=MY SERVICE"); cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow:…
tramway
  • 23
  • 1
  • 5
-1
votes
1 answer

How to tart service remotely on Windows 10

I have tried several methods to start the service remotely but none of them work. So, i try to start Windows Service (TeamViewer) from PC1 (192.168.1.10) on PC2 (192.168.1.20). All PC are on Windows 10 Pro. Ping 192.168.1.20 OK RDP 192.168.1.20…
Fandura
  • 39
  • 1
  • 3
-2
votes
1 answer

How to run command in command prompt?

Whenever I try to run any command in cmd, the command does not work, instead it shows me description and usage of that command. I am not being able to run any command. Cmd code which should run and the command should work but it is showing the…
-2
votes
1 answer

How to receive a processes that with name via a batch script

I need to receive a string with processes whose name is equal to "MSSQLSERVER" or starts with "MSSQL$". The names should be separated by forward slashes (/). I am trying to do it with such script: @echo off set mssqlDependenties= set…
Sheinar
  • 362
  • 3
  • 14